Question: please write down the code in C programming , no need for extra explanation . thanks. SECTION 3: Programming (20 MARKS) ANSWER (1) QUESTION BELOW.

please write down the code in C programming , no need forplease write down the code in C programming , no need for extra explanation . thanks.

SECTION 3: Programming (20 MARKS) ANSWER (1) QUESTION BELOW. The Bachelor of Computer Science (Data Engineering) is offered on a full-time basis, only at UTM Main Campus in Johor Bahru. The duration of study for the full-time programme is subjected to the student's entry qualification which requires a student to satisfy the following conditions if they intend to do a Bachelor of Computer Science (Data Engineering) at University Teknologi Malaysia. Write a program to check whether they are eligible to enter the course. A student is only eligible to enter this university when they satisfy the condition in Table I below. There are at most 100 candidates. Tablet Subjects and Grades Subject Grade Mathematics Greater or equal to 85 Physic Greater or equal to 80 Chemistry Greater or equal to 75 average Greater or equal to 80 The program must satisfy the following requirements a) Read the student's information from the keyboard which consists of identification number, student's name and the students' examination grades (Maths, Physics and Chemistry). The example output on the screen is shown in Figure 1. b) Store all the input data in ID or 2D array. Calculate the average of the three subjects in function calAvrg. This function should accept math physic, and chemistry as arguments and returns the average value c) Determine whether the student is eligible or not eligible based on the condition in Table 1 d) Write the output that includes the student's information and the status (eligible or not eligible) in the output file ("result.xr). The expected output in the output file is shown in Figure 2. Enter students name Ahmadi Enter student's ID: 111123 Enter grade for mathematics, physics and chemistry: 2 85.5 88.5 Do u want to enter any record:-> (Y/N) Y Enter students name :Debbie Enter student's ID: 112233 Enter grade for nathematics, physics and chemistry: 85.5 83.5 74.5 po u want to enter any record:-> (Y/N) Y Enter students' name Sivarajah Enter student's ID: 123445 Enter grade for mathematics, physics and chemistry: Be 83 74.5 po u want to enter any record:-> (Y/N) N THANK YOU Figure t Sample output on the screen

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!