Question: Please write a C++ program with functions Inputdata and Writeo utput , to calculate the average of 5 numbers. Use input and output file stream
Please write a C++ program with functions Inputdata and Writeoutput , to calculate the average of 5 numbers. Use input and output file stream as function arguments. Basically I need a program that will take 5 numbers from a text file "data.txt" and puts the average of the 5 numbers on text file "out.txt".


InClass Programming to calculate average of 5 ammbers. thr and While Cr Aremam miti fametiams roid Rhin stoftreamk, double function prototype lileotat average
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
