Uploaded by Owen Miel

coding direction map

advertisement
Random_Num_Gen
would_you_like
scoreboard
Random_Num_Gen
Generate
random
number
output would
you like to be
on honor roll
open
scoreboard.txt
would_you_like
output what is
your guess
output 1 for
yes, 0 for no
if fail
input guess
scoreboard
char loop
=='y' or 'Y'
true
False
output your
if guess> true
guess is too
num
high
False
output your
if guess< true
guess is too
num
low
False
input storage
if False
storage=1
output insert
first name
input first
name
if
guess!=num
output insert
last name
output
congrats
input last
name
output your
score is
output fail
False
if storage
out stream
= 1 firstname,lastname,,score
False
while in file
get all
characters
output
characters
close
scoreboard.txt
output thank
you
Download