Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

63.5 92.3 99.9 53.5 71.4 85.0 82.3 87.4 67.4 80.5 99.9 53.5 73.4 71.5 85.0 77.7 95.1 71.1 82.0

1 answer below »
63.5
92.3
99.9
53.5
71.4
85.0    
82.3    
87.4
67.4
80.5
99.9
53.5
73.4
71.5
85.0
77.7
95.1
71.1
82.0
Answered Same Day Apr 10, 2020

Solution

Snehil answered on Apr 12 2020
119 Votes
My Work/datafile.txt
63.5
92.3
99.9
53.5
71.4
85.0    
82.3    
87.4
67.4
80.5
99.9
53.5
73.4
71.5
85.0
77.7
95.1
71.1
82.0
My Work/main.cpp
#include #include using namespace std;
int main()
{
ifstream fin("datafile.txt");
creating input file stream and opening datafile with it
int elementCount = 0;
initial element count is zero
float temp, *a
ay, sum = 0, avg = 0;
fin
temp;
eading a number from...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here