Draw the flowchart then write the C program using switch. The program reads two marks for a student. Then it reads one integer number opr. According to the value of opr, the program will do some...


Draw the flowchart then write the C program using switch. The program reads<br>two marks for a student. Then it reads one integer number opr. According to<br>the value of opr, the program will do some operation on the two marks<br>according to the following table:<br>Value of opr<br>Required operation<br>Calculating then displaying average of the two marks.<br>Displaying the maximum mark.<br>Calculating then displaying the difference between the<br>two marks.<br>3<br>5 or 7<br>9.<br>Any other value<br>Wrong Operation<br>

Extracted text: Draw the flowchart then write the C program using switch. The program reads two marks for a student. Then it reads one integer number opr. According to the value of opr, the program will do some operation on the two marks according to the following table: Value of opr Required operation Calculating then displaying average of the two marks. Displaying the maximum mark. Calculating then displaying the difference between the two marks. 3 5 or 7 9. Any other value Wrong Operation

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here