Course Solutions Uncategorized (Solved) : Hi Guys Testing Code Data Name Id Test Scores Saved Work Parts Switch Statement Get Help S Q29663055 . . . .

(Solved) : Hi Guys Testing Code Data Name Id Test Scores Saved Work Parts Switch Statement Get Help S Q29663055 . . . .

 

Hi guys,

So I was testing my code and the data for name, ID and testscores were not saved for it to work on other parts of my switchstatement. Can I get help on how to save these infomation. the codeis below:

// Kornya Musa

//05/31/2018

//Gradebook app

#include<iostream>

#include<string>

#include<vector>

#include<iomanip>

#include<fstream>

using namespace std;

const int NUM_TESTS = 3;

const int NUM_STUDENTS = 2;

struct Gradebook

{

float studentID;

float GPA;

string name;

char grade;

double avgScores;

double testScores[NUM_TESTS];

double totalTestScores = 0;

};

void displayMenu();

void getInput(int size, int size2, Gradebook temp[]);

bool isValid(float c, float min, float max);

double calcAvg(int size, Gradebook temp[]);

char assignGrades(Gradebook temp[], int size);

void getGPA(int size, Gradebook temp[]);

float findHi(int size, Gradebook temp[]);

void displayGradebook(Gradebook temp[], int size, intsize2);

int main()

{

Gradebook student[NUM_STUDENTS];

float

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