Help Modifying C Program Include Using Namespace Std Double Calcfinalscore Double Double D Q37144371

Help modifying this C++ Program

In this lab you will be enhancing the grade calculating program developed in Lab 14. Just like the previous one, two tests sc

#include<iostream>
using namespace std;

double calcFinalScore(double, double, double);

void printFinalScore(double);

int main() {

   double test1, test2;

   double hw;

   double finalScore;

   cout << “Enter the score for test #1: “;

   cin >> test1;

   cout << “Enter the score for test #2: “;

   cin >> test2;

   cout << “Enter the score for homework: “;

   cin >> hw;

   finalScore = calcFinalScore(test1, test2, hw);

   printFinalScore(finalScore);

   system(“PAUSE”);

   return 0;

}

double calcFinalScore(double test1, double test2, double hw) {

   double finalScore =

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.