Sewage_Frequency_Distribution

Download Category:

Sewage_Frequency_Distribution.zip - (555.7 KB)
[
Sewage_Frequency_Distribution/Debug/
Sewage_Frequency_Distribution/Debug/cl.command.1.tlog
Sewage_Frequency_Distribution/Debug/CL.read.1.tlog
Sewage_Frequency_Distribution/Debug/CL.write.1.tlog
Sewage_Frequency_Distribution/Debug/link.7784.read.1.tlog
Sewage_Frequency_Distribution/Debug/link.7784.write.1.tlog
Sewage_Frequency_Distribution/Debug/link.7784-cvtres.read.1.tlog
Sewage_Frequency_Distribution/Debug/link.7784-cvtres.write.1.tlog
Sewage_Frequency_Distribution/Debug/link.command.1.tlog
Sewage_Frequency_Distribution/Debug/link.read.1.tlog
Sewage_Frequency_Distribution/Debug/link.write.1.tlog
Sewage_Frequency_Distribution/Debug/link-cvtres.read.1.tlog
Sewage_Frequency_Distribution/Debug/link-cvtres.write.1.tlog
Sewage_Frequency_Distribution/Debug/mt.command.1.tlog
Sewage_Frequency_Distribution/Debug/mt.read.1.tlog
Sewage_Frequency_Distribution/Debug/mt.write.1.tlog
Sewage_Frequency_Distribution/Debug/rc.command.1.tlog
Sewage_Frequency_Distribution/Debug/rc.read.1.tlog
Sewage_Frequency_Distribution/Debug/rc.write.1.tlog
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.exe
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.exe.embed.manifest
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.exe.embed.manifest.res
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.exe.intermediate.manifest
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.ilk
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.lastbuildstate
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.log
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.obj
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.pdb
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.vcxprojResolveAssemblyReference.cache
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution.write.1.tlog
Sewage_Frequency_Distribution/Debug/Sewage_Frequency_Distribution_manifest.rc
Sewage_Frequency_Distribution/Debug/vc100.idb
Sewage_Frequency_Distribution/Debug/vc100.pdb
Sewage_Frequency_Distribution/EX6_1.dat
Sewage_Frequency_Distribution/Question.txt
Sewage_Frequency_Distribution/Screenshot_1.png
Sewage_Frequency_Distribution/Sewage_Frequency_Distribution.cpp
Sewage_Frequency_Distribution/Sewage_Frequency_Distribution.sln
Sewage_Frequency_Distribution/Sewage_Frequency_Distribution.suo
Sewage_Frequency_Distribution/Sewage_Frequency_Distribution.vcxproj
Sewage_Frequency_Distribution/Sewage_Frequency_Distribution.vcxproj.filters
Sewage_Frequency_Distribution/Sewage_Frequency_Distribution.vcxproj.user
]

The number of millions of gallons of sewage that are disposed of each day for a major city is measured continuously for about one month. These records saved in a file, EX6 _1.DAT. follow: 123, 134, 122, 128, 116, 96, 83, 144, 143, 156,
128, 138, 121, 129, 117, 96, 87, 148, 149, 151, 129, 138, 127, 126, 115, 94, 83, 142 Write a program to calculate the frequency distribution using an interval of 10 million gallons per day. The input specification is to use the array sewage_amt(100) to read
the number of millions of gallons from file EX6 _1.DAT. The output specifications is to display the following data on the screen Day no. Millions of gallons 1 123 2 134 3 122 Sewage per day Frequency of occurrence 81 -90 3 91-100 3 101-111 0 Part 2 Modify
the program so that the input is read by calling a function named read_data (). Part 3 Modify the program so that the output is displayed by calling a function display (). The declaration of the display () function is: Void display (int mil_gal(), int array_size);
Where mil_gal represents an array to be use to pass the information in the array sewage_amt(100), and the array_size is the total number of records.

Write a Review

Get a fresh solution of this question. Ask it now to our experts.
doubt

Ask Your Question

We have verified professionals who are ready to answer your question.

time

Save Time and Money

We choose experts who can quickly answer your question and that suit your budget.

download

Get Your Answer

Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.