subject

Using switch statement, write a menu-driven program to accept two integer numbers (first, second) from the user and allow the user to choose one of the following options: 1. Display the binary representation of the first and the second number. 2. Display the sum of all even digits of the second number, 3. Display the sum of prime numbers between the first and the second number. 4. Print “The same” if two numbers have same digits, otherwise print “Not the same” 5. Display the first number after rotating its digits by R. (R is a number generated randomly (from 1 to 9), if R is equal or less than 4 using left rotation. Otherwise, using right rotation. 6. Exit.​

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 22.06.2019 18:40
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
What refrigerant has been approved for new household refrigerators and freezers
Answers: 1
You know the right answer?
Using switch statement, write a menu-driven program to accept two integer numbers (first, second) fr...
Questions
question
Physics, 03.07.2019 06:00
Questions on the website: 13722362