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, 23.06.2019 05:20
What did creator markus “notch" persson initially call his game
Answers: 1
question
Computers and Technology, 24.06.2019 04:10
Write a program that reads a set of floating-point values. ask the user to enter the values, then print • the average of the values. • the smallest of the values. • the largest of the values. • the range, that is the difference between the smallest and largest. of course, you may only prompt for the values once.
Answers: 3
question
Computers and Technology, 24.06.2019 05:30
Why is hard disk space important to an audio engineer? why are usb ports and firewire ports useful for an audio engineer? explain in 2-3 sentences. (3.0 points) here's a list of different audio software: ableton live apple inc.'s garageband apple inc.'s logic studio digidesign's pro tools propellerhead sofware's reason sony creative software's acid pro steinberg cubase steinberg nuendo choose one of the software programs listed above, and then go to that software program's web site. read about what the software program is used for, and then write 4-5 sentences about what you learned. (10.0 points) which type of software license is the most limiting? why? explain in 2-3 sentences. (3.0 points) when sending a midi channel voice message, how can you control the volume of the sound? explain in 2-3 sentences. (4.0 points)
Answers: 1
question
Computers and Technology, 24.06.2019 20:30
⭐️⭐️⭐️ what network is larger in size? man or wan? you ⭐️⭐️⭐️
Answers: 2
You know the right answer?
Directions: you are to write a c++ program that meets the instruction requirements below. deliverab...
Questions
question
Mathematics, 20.01.2021 08:20
question
Chemistry, 20.01.2021 08:20
question
Spanish, 20.01.2021 08:20
question
Mathematics, 20.01.2021 08:20
Questions on the website: 13722359