3 Topics
|
|
Hi I need help on this please.I have to write a void function that reads data from the following file:5 2 2 670.60 6 4 2 890.80 2 2 0 220.00 10 8 1 1340.60 10 4 3 1430.70 4 0 0 460.30 5 3 1 700.00 7 5 2 … |
|
Question: how do i get the average to come out, correctly. The first avg., should be 85, next second one: 85.5, then student three: 80. Here's my code: [code]#include <iostream> #include <iomanip> using namespace std; void handleOneStudent(int N); int main() { int NumberOfStudents; cout << "How many students are in … |
|
Hi :) I have this assignment for my first year programming module and one of the questions asks for a void function using string parameters. This confused the hell out of me, but I came up with this idea. Would someone please, please, please have a look at it and … |
The End.