Question: Modify this code: a . Change whole code from switch to if statements with some changes like: i . If the number is more than

Modify this code:
a. Change whole code from switch to if statements with some changes like:
i. If the number is more than 35 and less than or equal 40 ; the program should ask the user to enter his or her name and ID and then print this information into the output screen.
i. Learn how to use string data type.
ii. If the number is more than 21 and less than 27, the program should ask the user to enter a number then display the power of the entered number.
iii. What is the meaning of ( dots in the Switch? Explain in few words.
iv. If the number is between 21 and 30 :
i. Ask the user to enter 2 numbers and calculate the maximum number entered.
b. After you finish answering a, draw a simple flowchart for your program.
Modify this code: a . Change whole code from

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 Programming Questions!