Question: Lab Exercises 1/30/2018 Lab 1: Write a C++ program to store exactly 1500 random integers, each followed by a space, in a file. The random

Lab Exercises 1/30/2018

Lab 1: Write a C++ program to store exactly 1500 random integers, each followed by a space, in a file. The random integers are to be in the range of 1000 to 10000, inclusive.

Lab 2: Write a second C++ program which uses the file produced in Lab 1 as its input file. This program finds the maximum value in the input file, and outputs it, with a label, in an output file.

Lab 3: Write a third C++ program which uses the file produced in Lab 1 as its input file. This program gets user input of a value from 1000 to 10000, and counts how many timesthe users value appears in the input file. It reports the result to the user using screen output.

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!