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

(Solved) : Consider Program Repeats Sequence Ttnttntt T Taken N Taken Particular Conditional Branch F Q32477734 . . . .(Solved) : Consider Program Repeats Sequence Ttnttntt T Taken N Taken Particular Conditional Branch F Q32477734 . . . .

<br/><img src="../../../media.cheggcdn.com/media/182/18262db7-27ce-4120-903d-9b893013ded3/image.png" alt="a) Consider a program that repeats the sequence TTNTTNTT T taken, N = not taken) on a particular conditional branch. What fraction of these branches will be correctly

(Answered) : Question 1 1 Point Statistical Technique Commonly Used Create Prediction Model Outcome Var Q28648562(Answered) : Question 1 1 Point Statistical Technique Commonly Used Create Prediction Model Outcome Var Q28648562

<br/><img src="https://media.cheggcdn.com/media%2Fabc%2Fabc0bd18-9680-4241-bdc3-51ac5a075925%2Fimage" alt="Question 1 (1 point) What statistical technique is commonly used to create a prediction model when the outcome variable is numeric/continuous OA) Clustering O B) Classification using Decision