Write a C++ Program that will generate 5 random numbers which simulate the age of college students
Fantastic news! We've Found the answer you've been seeking!
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 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)
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: