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, 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
