Question: b. [O #include main () { float cpg, payment, credit=13.5; printf (Please Enter your GPA: ); scanf(%4f, &gpc); if (gpa==4.00) payment=8500; else payment=credit*1900+8500; printf (Payment:

 b. [O #include main () { float cpg, payment, credit=13.5; printf

b. [O #include main () { float cpg, payment, credit=13.5; printf ("Please Enter your GPA: "); scanf("%4f", &gpc); if (gpa==4.00) payment=8500; else payment=credit*1900+8500; printf ("Payment: %.3f", payment); } Read the above program carefully and answer the following: I) Purpose of the program II) Variable with their type III) Input and Output statements

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!