Question: please do in loop In this program you need to demonstrate your ability to design a while loop. Ask user to enter two positive integer

 please do in loop In this program you need to demonstrate

please do in loop

In this program you need to demonstrate your ability to design a while loop. Ask user to enter two positive integer numbers. The first number, say F, should be entered between 1 and 20. The second number, say S, should be greater than first number and should be less than 200. Having these number and using a while loop, print all multiples of F between 0 and S. For instance, given F = 4, S = 96, your program should print " 4, 8, 12, 16, ... 96," F = 7,5 = 199, your program should print "7, 14, 21, 28, ... 196," F = 1, S = 33, your program should print "1, 2, 3, 4, ... 33." F = 20, S = 23, your program should print "20," Note: we assume that will be entered as requested by the user. You do not need to check if S > F or not. In this program you need to demonstrate your ability to design a while loop. Ask user to enter two positive integer numbers. The first number, say F, should be entered between 1 and 20. The second number, say S, should be greater than first number and should be less than 200. Having these number and using a while loop, print all multiples of F between 0 and S. For instance, given F = 4, S = 96, your program should print " 4, 8, 12, 16, ... 96," F = 7,5 = 199, your program should print "7, 14, 21, 28, ... 196," F = 1, S = 33, your program should print "1, 2, 3, 4, ... 33." F = 20, S = 23, your program should print "20," Note: we assume that will be entered as requested by the user. You do not need to check if S > F or not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!