Question: Add the function needed to execute this program This is an admission checking program to determine if you, as user, fulfill the require for three
Add the function needed to execute this program This is an admission checking program to determine if you, as user, fulfill the require for three classes? Your function checks to see if you qualify and returns message you are admitted
#include
ADD FUNCTION HERE (referenced as check in main code)
int main()
{
int p, c, o;
printf("Type your grade in Physics (whole number). "); scanf("%d", &p); check(p);
printf("Type your grade in Calculus (whole number). "); scanf("%d", &c); check(c);
printf("Type your grade in Organic Chemistry (whole number). "); scanf("%d", &o); check(o);
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
