Diagrama de flujo
Arithmetic test
Contenido del diagrama
Start
x = random number from 0 to 10
y = random number from 0 to 10
counter = 0
Is
counter == 1
or 4 or 7
or 10?
counter = counter + 1
Output
x "+" y "="
Input = answer
Is
answer ==
x+y ?
Yes
Output
"Correct! Well
done"
correctAnswer = correctAnswer+1
correctAnswer = 0
Output
"That is not correct"
Yes
No
Is
counter == 2
or 5 or 8?
Output
x "-" y "="
Input = answer
Is
answer ==
x-y ?
Yes
No
Output
x "X" y "="
Input = answer
Is
answer ==
x*y ?
Yes
No
Is
counter == 3
or 6 or 9?
Output
"You have scored"
correctAnswer
"correct answers"
Output
"What is your name?"
Name = input
End
No
No
No
Yes
Yes
Información
- Descripción
- GCSE Computing Diagrama sobre Arithmetic test, creado por Holly Anderson el 09/12/2016.
- Creado por
- Holly Anderson
- Visitas
- 2
- Valoración