• 100% Satisfaction Guarantee
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 7677
Experience:  MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
44910485
ATLPROG is online now

# Write a program that a C++ program that can be used to determine

### Customer Question

Using this information, you are to construct a 60*7 two dimensional array, in which the first column is used for the student number, the next four columns for the grades and the last two columns for the computed final grades. The output of the program should be a display of the data in the completed array.
For the test purposes, the following table is provided:
---------------------------------------
1 100 100 100 100
2 100 0 100 0
3 82 94 73 86
4 64 74 84 94
5 94 84 74 64
The program should print the grade matrix including the averages. Then it should calculate the mean and standard deviation for both averages for the class and prints the results.
Program Organization
The main() routine should declare and populate the array with the test data shown above. It should then
call a function, passing in the array as a parameter. The function should perform the calculations and print
the result.
heres what i got
#include
#include
using namespace std;
void printarray (int [ ][5]);
int main ( )
{
int array1 [5] [5] = { {1, 100, 100, 100, 100}, {2, 100, 0, 100, 0},{3, 82, 94, 73, 86},{4, 64, 74, 84, 94},{5, 94, 84, 74, 64}};
cout<<printarray (array1);
return 0;
}
void printarray (int a[ ] [5] )
{
for(int c=0; c<5; c++)
cout<<a;
}
Submitted: 2 years ago.
Category: Programming
Customer: replied 2 years ago.
#include
#include
using namespace std;
void printarray (int [ ][5]);
int main ( )
{cout << "Student" << setw(12) << "Grade 1"<< setw(15) << "Grade 2"<< setw(15)<<"Grade 3"<< setw(15)<< "Grade 4"<< setw(15)<< "Average 1"<< setw(15)<<"Average 2"<<endl;int array1 [5] [5] = { {1, 100, 100, 100, 100}, {2, 100, 0, 100, 0},{3, 82, 94, 73, 86},{4, 64, 74, 84, 94},{5, 94, 84, 74, 64}};
cout<<printarray (array1);return 0;
}
void printarray (int a[ ] [5] )
{
for(int c=0; c<5; c++)
cout<<a;
}
Expert:  ATLPROG replied 2 years ago.
hello by when you need this done?
Customer: replied 2 years ago.
tonight before 1130
Expert:  ATLPROG replied 2 years ago.