Ask your own question, for FREE!
Computer Science 14 Online
OpenStudy (anonymous):

1.Write a program that reads two integer numbers and calculates the result according to the option chosen from the following menu: 1-Define large. 2-One multiple of other. 3-Exit. Description of the options: -Option 1: compare both numbers and print out a message with the larger one. -Option 2: check if the first number is multiple of the second and vice versa. -Option 3: ends the program. One statement will be in this case which is exit(0). -If the user enters a wrong option, an error message should be displayed . Hint: Use switch statements. ‏

OpenStudy (anonymous):

Have you attempted to solve this exercise? Where do you need help?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!