Course Solutions Uncategorized (Solved) : Code Trying Calculate Test Score Students Using Arrays Formating Part Compiler Recognizing Q33250346 . . . .

(Solved) : Code Trying Calculate Test Score Students Using Arrays Formating Part Compiler Recognizing Q33250346 . . . .

 

In this code I am trying to calculate the test score forstudents using arrays in he formating part the compiler is notrecognizing the output though they have been declared pleasehelp

#include<iostream>

#include<iomanip>

#include<string>

using namespace std;

int main ()

{

int highest = 99;

const int size = 10;

int testscore1 [size] = {};

int testscore2 [size] = {};

int testscore3 [size] = {};

string student_name[10];

int Id;

//input student names and testscore values

for (int i=0;i<size; i++)

cout<<“please enter student_name”;

cin>> student_name[8];

cout<<“please enter Id”;

cin>>Id;

cout<< “what is the first score”;

cin>>testscore1 [0];

cout<<“what is second test score”;

cin>>testscore2 [0];

cout<<“what is the third test score”;

cin>>testscore3[0];

}

//Tcalculates the scores of each student

// calculate the average testscore

int setprecision;

i;  

cout<<setw (18)<<“student_name[0]”;

cout<<setw (4)<<“testscore1[size]”;

cout<<setw (4)<<“testscore2[0]”;

cout<<setw (4)<<“testscore3[0]”;

cout<<setw(25<<fixed<<setprecision(2)))

cout<<setw (18″———“<<) )<<setw(4)”——-“<<setw

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Answered) : Problem 5 20 Assume Network Data Follow Activity Normal Time Weeks Normal Cost Crash Time Q31250071(Answered) : Problem 5 20 Assume Network Data Follow Activity Normal Time Weeks Normal Cost Crash Time Q31250071

<p>Problem 5-20</p><p>Assume the network and data that follow:</p><table cellpadding="0" cellspacing="0" style="width:526px;"><tbody><tr><td style="text-align:center;vertical-align:bottom;">ACTIVITY</td><td style="text-align:center;vertical-align:bottom;">NORMALTIME<br/>(WEEKS)</td><td colspan="3" style="text-align:center;vertical-align:bottom;">NORMAL<br/>COST</td><td style="text-align:center;vertical-align:bottom;">CRASHTIME<br/>(WEEKS)</td><td colspan="3" style="text-align:center;vertical-align:bottom;">CRASH<br/>COST</td><td style="text-align:center;vertical-align:bottom;">IMMEDIATE<br/>PREDECESSORS</td></tr><tr><td style="text-align:center;vertical-align:middle;">A</td><td style="text-align:center;vertical-align:middle;">7</td><td style="text-align:right;vertical-align:middle;">$</td><td style="text-align:right;vertical-align:middle;">60</td><td style="text-align:right;vertical-align:middle;"/><td style="text-align:center;vertical-align:middle;">5</td><td style="text-align:right;vertical-align:middle;">$</td><td style="text-align:right;vertical-align:middle;">90</td><td style="text-align:right;vertical-align:middle;"/><td style="text-align:center;vertical-align:middle;">—</td></tr><tr><td style="text-align:center;vertical-align:middle;">B</td><td