Question: Write a C++ Program that will generate 5 random numbers which simulate the age of college students (from 17 to 26). The program will generate
Write a C++ Program that will generate 5 random numbers which simulate the age of college students (from 17 to 26). The program will generate another 3 random numbers which simulate the cold weather (ranging from -15 to positive 50 fahrenheit degree). Your program should
- Have a nicely commented header section, including your name, class number, date and detail comments to expain how to use random function and how to determine your ranging formula.
- Perfectly indented (all lines within a block should be indented 3 spaces)
- The output must be nicely labeled for easy understanding. You name should be displayed at the first line of output as the author.
- At least 2 test runs output attached at the end of source code (ref to "HowTo" for copy/paste output to the program)
Step by Step Solution
There are 3 Steps involved in it
include include include using namespace std int main Header section cout Author Your Name cout Class ... View full answer
Get step-by-step solutions from verified subject matter experts
