Question: 0:55 PM dced blackboard. com Create a CPP program named lastname-AsgnO to accomplish the following tasks: This program will practice using these basic functions that

 0:55 PM dced blackboard. com Create a CPP program named "lastname-AsgnO"
to accomplish the following tasks: This program will practice using these basic
functions that are provided to us by CHt: Due November 17 Part

0:55 PM dced blackboard. com Create a CPP program named "lastname-AsgnO" to accomplish the following tasks: This program will practice using these basic functions that are provided to us by CHt: Due November 17 Part One (5 points) of your program that will ask the user for a seed value call the srand function sending in the seed value from the user to the function then use the rand function; get a pseudo-random number from the computer, this random number should be between 1 and 25 ( think modulus, remember rand provides default values are 0 to 32767 or 2 GB) Display the next 8 resulting random numbers, each showing a value between 1 and 25 Try several different seed values, you should see a different set of 8 values fro ch different seed. (10 points) -more practice with functions ask the user for two numbers, these should be integers including all of the values from 4 to 12, continue Part Two inside a loop to reprompt for each value until you get a good values for both numbers. Once both values are good, then you will then use those two values to complete the following function calls: set up the calls, here is the following information about these two functions: with each number first and display the results received back from the function (you do not nced to use a loop) Once again you will need to run it once with each number being sent it and be sure to display the results all two different functions that are part of the math function library: pow) and sqrt); to help you A call the pow function takes in two values, you will have your program run the function twice once B. call the sqrt function takes in one value and finds the square root of the number that was sent in. Example for Part Two of the program would be . (items in (..) do not appear on screen) this is assignment N by your name here please enter 2 values: 12 4 (I entered 12 and 4 ) (the pow function will then show me) the results of 12 raised to the power of 4 is 20739 the results of 4 raised to the poser of 12 is 16777216

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!