subject

Directions: you are to write a c++ program that meets the instruction requirements below. deliverables: · your c++ source code file. (the file with the .cpp extension).no other files will be accepted. a screenshot of your program running. program instructions: write a program that uses a random number generator to generate a two digit positive integer and allows the user to perform one or more of the following operations: double the number. reverse the digits of the number. raise the number to the power of 2, 3, or 4. sum the digits of the number. if the number is a two digit number, then raise the first digit to the power of the second digit. if the number is a three digit number and the last digit is less than or equal to 4, then raise the first two digits to the power of the last digit. after performing an operation if the number is less than 10, add 10 to the number. also, after each operation determine if the number is prime. each successive operation should be performed on the number generated by the last operation. your program should not contain any global variables and each of these operations must be implemented by a separate function. also, your program should be menu driven.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
If an improvement creates no significant change in a product’s performance, then it is a(n) ? a0 design improvement. (there are no answer choices)
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
The output voltage of a power supply is assumed to be normally distributed. sixteen observations are taken at random on voltage are as follows: 10.35, 9.30, 10.00, 9.96, 11.65, 12.00, 11.25, 9.58, 11.54, 9.95, 10.28, 8.37, 10.44, 9.25, 9.38, and 10.85
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
Jason is working on a microsoft excel worksheet and he wants to create a print preview shortcut. his teacher asks him to access the customization option to create the new shortcut. which two tabs should jason select to place the print preview shortcut on the worksheet toolbar? a. new tab (custom) and new group (custom) b. new file tab (custom) and new tab (custom) c. new custom group and new command d. new custom tab and new command
Answers: 2
You know the right answer?
Directions: you are to write a c++ program that meets the instruction requirements below. deliverab...
Questions
question
Chemistry, 25.07.2019 12:30
question
Biology, 25.07.2019 12:30
question
Mathematics, 25.07.2019 12:30
question
Mathematics, 25.07.2019 12:30