Question
Develop a program that allows the user to enter a start value of 1 to 4, a stop value of 5 to 12 and a
Develop a program that allows the user to enter a start value of 1 to 4, a stop value of 5 to 12 and a multiplier of 2 to 8.The program must display a multiplication table with results using these values.For example, if the user enters a start value of 3, a stop value of 7 and a multiplier value of 3, the table should be displayed as follows:
Multiplication Table
3 x 3 = 9
3 x 4 = 12
3 x 5 = 15
3 x 6 = 18
3 x 7 = 21
Run the program with the following values:
StartStopMultiplier
2104
4126
programs must include a processing loop that allows multiple sets of data to be processed and the program should be terminated when there is no more data to process
*these are the Examples of for in range loops
A for in range loop to print "I am a happy person" 5 times.
for counter in range(5):
print()
print ("I am a happy person")
print()
A for in range loop to print "I am a happy person" 5 times (version 2).
for counter in range(0,5,1):
print()
print ("I am a happy person")
print()
A for in range loop to print a countup (1 to 10) to blastoff.
print()
print ("Countup to blastoff 1 to 10")
for countup_num in range(1,11):
print (countup_num)
print()
print ("Blastoff")
A for in range loop to print a countdown (10 to 1) to blastoff.
print()
print ("Countdown to blastoff 10 to 1")
for countdown_num in range(10,0,-1):
print (countdown_num)
print()
print ("Blastoff")
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started