Question: Find Limit Values - Find Smallest and Largest Values Create the Windows program Assign01-FindLimitValues described below in a new project folder Write code to handle

 Find Limit Values - Find Smallest and Largest Values Create the

Find Limit Values - Find Smallest and Largest Values Create the Windows program Assign01-FindLimitValues described below in a new project folder Write code to handle the actions described. Copy both of these input data files to the same folder in the project that contains the program.cpp file: Random Integers.txt RandomTest Integers.txt The program can be tested using the smaller (20 records) test file. Switch to the full data file (1000 records) once the program is running correctly. Include these C++ libraries for your project: #include #include #include Open the file Random Integers.txt and check for a successful open. Exit program if open is unsuccessful Readc d each record in the file, placing every integer one after the other into an unsigned int variable. Count the number of integers in the file while reading each integer Find the smallest value and the largest value in the file. Sum all of the integers found in the file in an unsigned long long variable. Display output as shown. Use setw(16) to format the values | Microsoft Visual Studio Debug Console 20 with RandomTest Integers.txt 18 integer count: smallest integer: largest integer: sum of integers: 200 2100 with Random Integers.txt Microsoft Visual Studio Debug Console integer count: 1092 smallest integer: largest integer: 4291585119 Sum of integers: 2097614516863

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!