Question: Can I please have the solution for this problem ? Create an input file, called integers txt, that contains 5 integers with one integer on
Create an input file, called integers txt, that contains 5 integers with one integer on each of the first five lines. Write a correct and thorough C++ program that reads these 5 integers and computes the average of the input values. Display in an output file, called report.txt, the average as a floating-point number to two decimal places Assumptions to be made: () the input file only contains integers (the file will not contain fioating-point numbers) Upload to URCourses: 1. your input file 3. your C++ program with file extension cpp (Do not upload a file with extension sin)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
