Write A Program That Reads Final Year Project Fyp That Consist Of Viva Score And Report Marks Of 5 Five Students To 1 (214.76 KiB) Viewed 11 times
Write a program that reads Final Year Project (FYP) that consist of Viva score and report marks of 5 (five) students to 2- dimensional (2-D) array named student. The elements from the array must be initialize to 0 during declaration. The overall FYP marks is measured as follows: FYP marks=(Viva *0.5)+(Report *0.5) The viva score and overall FYP marks must be stored in the 2-D array. Then, determine the followings: 1. Average of FYP marks 2. Highest FYP marks 3. Lowest FYP marks 4. Suppose that FYP Best Presenter Award is given to students with viva score of 80 and above, determine the number of students that eligible to receive the award 5. Suppose that FYP Award is given to students with overall FYP marks of 80 and above, determine the number of students that eligible to receive the award 6. Suppose that pass mark for FYP is 60 and above, determine the percentage of the pass student Your array structure should be as follows: student[0] student[1] student[2] student[3] student[4] Viva [0] FYPmarks [1]
Your program must produce the following output (Blue font indicates input by user): Enter Viva Score & Report Marks : 83 78 Overall FYP marks :80.50 Enter Viva Score & Report Marks : 85 81 Overall FYP marks : 83.00 Enter Viva Score & Report Marks : 65 78 :71.50 Overall FYP marks Enter Viva Score & Report Marks : 80 78 : 79.00 Overall FYP marks Enter Viva Score & Report Marks : 57 66 : 61.50 Overall FYP marks Enter Viva Score & Report Marks : 81 75 :78.00 Overall FYP marks Enter Viva Score & Report Marks : 72 76 Overall FYP marks :74.00 Enter Viva Score & Report Marks: 71 79 Overall FYP marks :75.00 Enter Viva Score & Report Marks : 65 68 Overall FYP marks : 66.50 Enter Viva Score & Report Marks : 55 51 Overall FYP marks :53.00 Average FYP marks: 72.20 Highest FYP mark : 83.00 Lowest FYP mark : 53.00 Number of students to receive FYP Best Presenter Award : 4 Number of students to receive FYP Award :2 Percentage of pass students : 90.00
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!