Question: Question: Write a C + + program for the given pseudocode. make sure to fulfill the following points: Declare a variables of type integer called
Question: Write a program for the given pseudocode. make sure to fulfill the following points:
Declare a variables of type integer called studentid
Declare a variables of type integer called numberofcourses and set it to
Declare a variables of type double called firstgrade.
Declare a variables of type double called secondgrade.
Declare a variables of type double called thirdgrade.
Prompt the user through the console for an integer value for the studentid and store it in studentid
Prompt the user through the console for an integer value and store it in numberofcourses.
Prompt the user through the console for a double value and store it in firstgrade, secondgrade and thirdgrade.
Declare a variable of type double called sum sum of grades
Declare a variables of type integer called avg sum divided by numberofcourses
Output to the console the following message:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
