Question: Write a program to input 3 values(mid, fin, course) find total. print total. print pass or fail. condition: total >= 60 pass otherwise fail Write

 Write a program to input 3 values(mid, fin, course) find total.
print total. print pass or fail. condition: total >= 60 pass otherwise
fail Write a program to input your original_bill. find discount. print original_bill,

Write a program to input 3 values(mid, fin, course) find total. print total. print pass or fail. condition: total >= 60 pass otherwise fail Write a program to input your original_bill. find discount. print original_bill, discount, fin_bill condition: if original_bil > 50 discount is 10%. otherwise discount is 5% if (original_bil > 50 ) discount = original_bil * 10/100 else discount = original_bil * 5 /100 fin_bill = original_bil - discount print original_bil, discount, fin_bill example-1: original_bil = 60 discount = original_bil * 10/100 fin_bill = original_bil discount // program to correct errors #include int main() int a=5 b=3; int fin mark=70; float c = 5.3; Printf("Hi %d", (a+bc)); printf('Hello exam') if (fin mark > 59 printf(' I am pass ') otherwise printf("I am fial "); Return 0; }

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!