programming assignment

1 answer below »
Answered Same DayMay 12, 2021

Answer To: programming assignment

Sonu answered on May 12 2021
121 Votes
dg1/sa1.cpp
dg1/sa1.cpp
#include
#include
using namespace std;
int main()
{

    cout<<"how many students?";
    int n;
    cin>>n;
    string name[n+1];
    int test1[n+1];
    int test2[n+1];
    double average[n+1];
    string status[n+1];
    int i=0;
    int y = n;
    for(int p=0; p    {
        name[p]="";
        test1[p]=0;
        test2[p]=0;
        average[p]=0.0;
        status[p]="";
    }
    while(n--)
    {
        cout<<"enter student name:";
        cin>>name[i];
        cout<<"enter test-1 ...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here