Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

This is your final project, which consists if a program written from scratch in

ID: 668515 • Letter: T

Question

This is your final project, which consists if a program written from scratch in C++. Writing this program you will demonstrate your understanding of the basic programming tools we covered in the course: arithmetic operations, variables, decision-making, loops and arrays.
Create a C++ file named YourLastNameFinalProject.cpp. This means, if your last name is Jones, the name of the C++ file must be JonesFinalProject.cpp.
The program will calculate the grade point average for a student. The student will provide the letter grades for 10 courses. The program will read the 10 grades and convert the letter grade to a numeric value according to the table given below:
Letter Value A 4
B 3.5 C 3 D 2.5 F 0
Then, the program will calculate the GPA taking into account the following number of credits for each course
Course. Credits MATH101. 5 ENG100 3 BIO250 4 ITM100 3 CIS250 3 HIST101 3 CALC100 4 SCI201 3 SOC110 3 PHY100 4
The program will ask the student to enter the grades as follows: Grade for MATH101: Grade for ENG100: Grade for BIO250: Grade for ITM100: Grade for CIS250: Grade for HIST101: Grade for CALC100: Grade for SCI201: Grade for SOC110: Grade for PHY100:
The program will use two arrays: one to store the 10 numeric grades and another one to store the number of credits for each course as given on the table above. Make sure to maintain the same order.
The program will calculate the weighted average or GPA by multiplying each grade by its respective number of credits, adding all the products and dividing the total by the number of credits.
GPA =
The program output will be:
You GPA is: X.XX

The program must be fully documented with comments including a description, the date and your name at the beginning of the code.
You must submit a .cpp file. Word or text documents will automatically receive a grade of zero. This is your final project, which consists if a program written from scratch in C++. Writing this program you will demonstrate your understanding of the basic programming tools we covered in the course: arithmetic operations, variables, decision-making, loops and arrays.
Create a C++ file named YourLastNameFinalProject.cpp. This means, if your last name is Jones, the name of the C++ file must be JonesFinalProject.cpp.
The program will calculate the grade point average for a student. The student will provide the letter grades for 10 courses. The program will read the 10 grades and convert the letter grade to a numeric value according to the table given below:
Letter Value A 4
B 3.5 C 3 D 2.5 F 0
Then, the program will calculate the GPA taking into account the following number of credits for each course
Course. Credits MATH101. 5 ENG100 3 BIO250 4 ITM100 3 CIS250 3 HIST101 3 CALC100 4 SCI201 3 SOC110 3 PHY100 4
The program will ask the student to enter the grades as follows: Grade for MATH101: Grade for ENG100: Grade for BIO250: Grade for ITM100: Grade for CIS250: Grade for HIST101: Grade for CALC100: Grade for SCI201: Grade for SOC110: Grade for PHY100:
The program will use two arrays: one to store the 10 numeric grades and another one to store the number of credits for each course as given on the table above. Make sure to maintain the same order.
The program will calculate the weighted average or GPA by multiplying each grade by its respective number of credits, adding all the products and dividing the total by the number of credits.
GPA =
The program output will be:
You GPA is: X.XX

The program must be fully documented with comments including a description, the date and your name at the beginning of the code.
You must submit a .cpp file. Word or text documents will automatically receive a grade of zero. This is your final project, which consists if a program written from scratch in C++. Writing this program you will demonstrate your understanding of the basic programming tools we covered in the course: arithmetic operations, variables, decision-making, loops and arrays.
Create a C++ file named YourLastNameFinalProject.cpp. This means, if your last name is Jones, the name of the C++ file must be JonesFinalProject.cpp.
The program will calculate the grade point average for a student. The student will provide the letter grades for 10 courses. The program will read the 10 grades and convert the letter grade to a numeric value according to the table given below:
Letter Value A 4
B 3.5 C 3 D 2.5 F 0
Then, the program will calculate the GPA taking into account the following number of credits for each course
Course. Credits MATH101. 5 ENG100 3 BIO250 4 ITM100 3 CIS250 3 HIST101 3 CALC100 4 SCI201 3 SOC110 3 PHY100 4
The program will ask the student to enter the grades as follows: Grade for MATH101: Grade for ENG100: Grade for BIO250: Grade for ITM100: Grade for CIS250: Grade for HIST101: Grade for CALC100: Grade for SCI201: Grade for SOC110: Grade for PHY100:
The program will use two arrays: one to store the 10 numeric grades and another one to store the number of credits for each course as given on the table above. Make sure to maintain the same order.
The program will calculate the weighted average or GPA by multiplying each grade by its respective number of credits, adding all the products and dividing the total by the number of credits.
GPA =
The program output will be:
You GPA is: X.XX

The program must be fully documented with comments including a description, the date and your name at the beginning of the code.
You must submit a .cpp file. Word or text documents will automatically receive a grade of zero.

Explanation / Answer

// Name - XYZ Date -

#include<iostream.h>
#include<conio.h>

void main()
{
   int intcredit[]={5,3,4,3,3,3,4,3,3,4};
   int intgrade[10],i;
   float tot,sum=0,c;
   clrscr();


   cout<<"Enter Grade for MATH101:";
   cin>>intgrade[0];

   cout<<"Enter Grade for ENG100:";
   cin>>intgrade[1];

   cout<<"Enter Grade for BIO250:";
   cin>>intgrade[2];

   cout<<"Enter Grade for ITM100:";
   cin>>intgrade[3];

   cout<<"Enter Grade for CIS250:";
   cin>>intgrade[4];

   cout<<"Enter Grade for HIST101:";
   cin>>intgrade[5];

   cout<<"Enter Grade for CALC100:";
   cin>>intgrade[6];

   cout<<"Enter Grade for SCI201:";
   cin>>intgrade[7];

   cout<<"Enter Grade for SOC110:";
   cin>>intgrade[8];

   cout<<"Enter Grade for PHY100:";
   cin>>intgrade[9];

   for(i=0;i<10;i++)
   {
       c=intgrade[i]*intcredit[i];
       sum=sum+c;
   }
   tot=sum/10;

   cout<<"Your GPA is:"<<tot;

   getch();
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote