COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
consider the following:Generate a random number between 1 and 10 and store it as firstNumber.Generate a random number between 1 and 10 and store it as secondNumber.Multiply the firstNumber by secondNumber and store it as Result.Ask “What is firstNumber * secondNumber?"Display answer box and wait 5 seconds. If answer is equal to ____ say “Good job! Let’s try another.” Wait 2 seconds. Then return to step one. else say “Incorrect. Let’s try another.” Wait 2 seconds. Then return to step one.Repeat 10 times
|
result
|
|
80
|
|
firstNumber and secondNumber
|
|
8 * 10
|
Explanation:
There is 1 question to complete.