Posts
 
Reputation
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
1 Commented Post
0 Endorsements
~223 People Reached
Favorite Forums
Favorite Tags
c++ x 5
Member Avatar for blacjuice

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 …

Member Avatar for blacjuice
0
167
Member Avatar for blacjuice

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 …

Member Avatar for anastacia
-1
56