This program is for C++ please use only C++ things and it is for chapter 3 so we
ID: 3550368 • Letter: T
Question
This program is for C++ please use only C++ things and it is for chapter 3 so we cant get real creative either!
Write a program for a college admissions office. The user enters a numeric high school grade point average (Ex 3.2), and an admission test score. Print the messgae "Accept" if the student meets either of the following requirements:
A grade point average of 3.0 or above and an admission test score of atleast 60.
A grade pint average below 3.0 and an admission test score of at least 80.
If the student does not meet either of the qualification criteria, print "reject".
Points will be awarded as soon as correct answer is submit!!
Explanation / Answer
#include<iostream>
using namespace std;
int main()
{
double g;int s;
cout<<"enter your grade point average and test score ";
cin>>g>>s;
if(g>=3.0 && s>=60) cout<<"accept ";
else if(g<3.0 && s>=80) cout<<"accept ";
else cout<<"reject ";
return 0;
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.