Question: Draw a flow chart according to the given data. 01 START 02 OUTPUT Welcome to the higher/lower game, Bella! 03 Using infinite WHILE loop: 04
Draw a flow chart according to the given data. 02 OUTPUT "Welcome to the higher/lower game, Bella!" 03 Using infinite WHILE loop: 04 READ lower_bound as integer 05 READ upper_bound as integer 06 IF lower_bound < upper_bound: 07 Break the loop 08 ELSE 09 OUTPUT "The lower bound must be less than the upper bound." 10 ASSIGN random_num with random.randint(lower_bound, upper_bound) 11 OUTPUT message for Bella to guess the number between lower_bound and upper_bound 12 READ user_num as integer 13 Using WHILE loop until random_num is equal to user_num: 14 IF user_num > random_num: 15 OUTPUT "Nope, too high." 16 IF user_num < random_num: 17 OUTPUT "Nope, too low." 18 READ user_num as integer 19 OUTPUT "You got it!" 20 END
01 START
Step by Step Solution
3.44 Rating (151 Votes )
There are 3 Steps involved in it
Creating a flowc... View full answer
Get step-by-step solutions from verified subject matter experts
