Respuesta :
Answer:
# include<iostream>
#include<conio.h>
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".