Question: PRACTICE Design a solution flowchart with this problem statement. Ask the user to enter their student id number. (You may assume the user has entered

PRACTICE

Design a solution flowchart with this problem statement. Ask the user to enter their student id number. (You may assume the user has entered a valid student number. You do not have to include the leading 0's. If your student number is 000123456 you should just enter 123456.) Ask the user to enter a positive integer between 1 and 9. You may assume the user enters a positive integer between 1 and 9. Calculate the user's student number modulo the number they entered. If the result is 0 then ask the user to enter another number. The program should display the new number times 3. If the result of the student number modulo calculation is 1 then the program should display the message "Off by one!". If the result of the calculation is anything else the the program should ask for the user to input a letter. The program should display the letter repeated n times, where n is the result of the first calculation. Display the message "Valid program run, goodbye!" and exit no matter which path is taken.

Please make sure image is big enough to view properly, thank you

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!