Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 21:00, htahir2345
You turn your computer on and the computer will not boot up where is something you should do to diagnose the problem?
Answers: 1
image
Computers and Technology, 22.06.2019 17:00, ruddymorales1123
What allows you to create a wireless connection among your smart devices
Answers: 2
image
Computers and Technology, 22.06.2019 22:30, raiapowell
I'll mark brainliest if answered right! with which feature or menu option of a word processing program can you make an image like this? you can get this image using the option of a word processing program.
Answers: 1
image
Computers and Technology, 23.06.2019 01:20, shiann2002
Me with this program in c++ ! computers represent color by combining sub-colors red, green, and blue (rgb). each sub-color's value can range from 0 to 255. thus (255, 0, 0) is bright red. (130, 0, 130) is a medium purple. (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (in other word, equal amounts of red, green, blue yield gray).given values for red, green, and blue, remove the gray part. ex: if the input is 130 50 130, the output is: 80 0 80. thus, find the smallest value, and then subtract it from all three values, thus removing the gray.
Answers: 3
Do you know the correct answer?
Directions: you are to write a c++ program that meets the instruction requirements below. deliverab...

Questions in other subjects:

Konu
Mathematics, 02.03.2021 20:50
Konu
Mathematics, 02.03.2021 20:50