AKTU PROGRAMING FOR PROBLEM SOLVING LAB ( ALL QUESTION )
Download PDF Download Your File Click the button below to download your PDF file: 📄 Download PDF Download All Question In PDF Form. 1. WAP that accepts the marks of 5 subjects and finds the sum and percentage marks obtained by the student. #include <stdio.h> int main() { int m, p, c, h, e; printf("Enter Math Marks: "); scanf("%d", &m); printf("Enter Physics Marks: "); scanf("%d", &p); printf("Enter Chemestry Marks: "); scanf("%d", &c); printf("Enter English Marks: "); scanf("%d", &e); printf("Enter Hindi Marks: "); scanf("%d", &h); int total = m + p + c + h + e; printf("Total Marks Obtained = %d", total); float avg = total / 5.00; printf("\nAverage of Marks = %.2f %%", avg); ...