76 800
Assignments Done
Successfully Done
In June 2019

Answer to Question #4400 in C++ for Yuri

Question #4400
A program that allows you to enter a student's major and grade point average continuously until a sentinel value is entered. If the major is not one of the three offered by college or the grade point average is not within range, consider the student unassigned. Display the assigned advisor for each student or a message indicating the student unassigned. At the end of program's execution. display a count to the number of students who have been assigned to each advisor and the number who are unassigned.
Expert's answer
// Student'smajorandgradepointaverage.cpp : Defines the entry point for the console application.

#include "stdafx.h"
#include "iostream"
#include "conio.h"

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
double studentsmajor;
double pointaverage;
int countstudentassign;
cout<<"Enter a student's major:";
cout<<"Enter a student's grade point average:";
& cout<<"Assigned:";
& cout<<"Unassigned:";
cout<<"\nPress 0 to exit:\n";

return 0;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions