logo

WELCOME TO THE CITY

 

Exercise 1

Psuedo Code:

Declare Var: first number, second number, total guess i

for (i = 0; i < 5; i++)

Randomize First and Second Number

Total = First + Second number

while (guess != total)

Prompt and eval

if guess == total; alert

if guess != total; try again

 

Contact

Styner's Web Page

Classmates

Other Page