Question: In C++ please! 6.12 LAB: Files 2 (input and output) This program is a variation of the previous program: LAB: Files (input and output). Generates

In C++ please!In C++ please! 6.12 LAB: Files 2 (input and output) This program

6.12 LAB: Files 2 (input and output) This program is a variation of the previous program: LAB: Files (input and output). Generates n random numbers within a given range, displays them to the screen, and writes them to a file. Reads the numbers from the file, displays them to the screen, and calculates the following: - number of positive numbers - number of negative numbers - numbers of Os - average of the positive numbers Displays all of the above to the screen as shown below: Results: 2 positive 5 negative 1 zero (s) The average of the positive numbers is: 3.5 293630.1711880 LAB ACTIVITY 6.12.1: LAB: Files 2 (input and output) 0/6 main.cpp Load default template

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!