Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #36.9K
I have to get the total votes and percent of each vote for this program.I cant figure it out! I have attached input,but this should be output. Johnson 5000 6.2 Miller 4000 7.75 Duffey 6000 5.16 Robinson 2500 12.4 Ashtony 1800 17.22 Adkins 3500 8.85 Walls 5500 5.63 Bills 2700 … |
|
I need help with a printData function to output my code to an output file. Ive tried you can see one of my attempts commented out. [code] #include<fstream> #include <iostream> using namespace std; //functions void getData(ifstream& ,ofstream&, int temperature[2][12]); float avgerageHigh(int temperature[2][12]); float avgerageLow(int temperature[2][12]); int indexHighTemp(int temperature[2][12]); int indexLowTemp(int … |