We appreciate your visit to Write a program for a college s admissions office Create variables that store a numeric high school grade point average and an admission test score. This page offers clear insights and highlights the essential aspects of the topic. Our goal is to provide a helpful and engaging learning experience. Explore the content and find the answers you need!
Answer :
Answer:
# include
#include
using namespace std;
main()
{
float highschoolgrade, admissiontestscore;
cout<<"High Schoo; Grade =";
cin>>highschoolgrade;
cout<<"\n Admission Test Score = ";
cin>>admissiontestscore;
if (highschoolgrade>=3.6 && admissiontestscore>=60 || highschoolgrade>=3.0 && admissiontestscore>=70 || highschoolgrade>=2.6 && admissiontestscore>=80 || highschoolgrade>=2.0 && admissiontestscore>=90)
{
cout<<"Accept";
}
else
{
cout<<"Reject";
}
getch();
}
Explanation:
The program has two variable highschoolgrade for entering high school grade in float datatype so that user can enter marks in decimal format and admissiontestscore for entering marks of admission test. It is also in float data type.
If else conditional statement has been used with AND Logic Operator (&&) and OR logic Operator (||) to meet the conditions given in the program statement.
If the conditions meet the program will print "Accept" else print "Reject".
Thanks for taking the time to read Write a program for a college s admissions office Create variables that store a numeric high school grade point average and an admission test score. We hope the insights shared have been valuable and enhanced your understanding of the topic. Don�t hesitate to browse our website for more informative and engaging content!
- Why do Businesses Exist Why does Starbucks Exist What Service does Starbucks Provide Really what is their product.
- The pattern of numbers below is an arithmetic sequence tex 14 24 34 44 54 ldots tex Which statement describes the recursive function used to..
- Morgan felt the need to streamline Edison Electric What changes did Morgan make.
Rewritten by : Barada