Question: write a c++ code not too advanced (beginner knowlegde) Write a program called CSDP222_yourname_RandomNumber.cpp ( 2.5 credits). In this program, create a function that generates
Write a program called CSDP222_yourname_RandomNumber.cpp ( 2.5 credits). In this program, create a function that generates 25 random numbers between 1000 and 9999 and stores them in a 552D array. Then, find the average of all the numbers in the array. Use the most efficient way that we learned in class to identify the minimum, maximum, and median numbers that are greater than the average. Finally, display the position and the steps in your program to find the identified numbers on the screen. (Please create at least 3 functions to finish this program) Requirements: 1. You need to add your name, student ID, and project number as comments at the top of your program. (2.5 credits) 2. This project should contain: 1) your programming process (Write the purpose, input, process, and output for EACH user-defined function and the MAIN function (45 credits) (Handwritten on paper and give it to me before the deadline); 2) your source code in . cpp file. (50 credits) (Please submit your source code on Canvas). 3. You should add some comments to your code to make your code more readable. Write a program called CSDP222_yourname_RandomNumber.cpp ( 2.5 credits). In this program, create a function that generates 25 random numbers between 1000 and 9999 and stores them in a 552D array. Then, find the average of all the numbers in the array. Use the most efficient way that we learned in class to identify the minimum, maximum, and median numbers that are greater than the average. Finally, display the position and the steps in your program to find the identified numbers on the screen. (Please create at least 3 functions to finish this program) Requirements: 1. You need to add your name, student ID, and project number as comments at the top of your program. (2.5 credits) 2. This project should contain: 1) your programming process (Write the purpose, input, process, and output for EACH user-defined function and the MAIN function (45 credits) (Handwritten on paper and give it to me before the deadline); 2) your source code in . cpp file. (50 credits) (Please submit your source code on Canvas). 3. You should add some comments to your code to make your code more readable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
