Question: Can help me solve this c programming c follow the rubric. Question 1 (C6, C04, PO3) You are to write a C program that reads

 Can help me solve this c programming c follow the rubric.

Can help me solve this c programming c follow the rubric.

Question 1 (C6, C04, PO3) You are to write a C program that reads student id, identifies the student's program and counts number of students in each program. The program continues to input while the students id is not 99. The program should check validity of the student id. A valid student id should run between 10xxx until 30xxx as described in Figure 1, otherwise the program display error message "Invalid studentID!". Determine suitable formula to extract the program code from the student id. Besides calculating number of students in each program, the program should display the program name and program label of the specified student id. If the program code extracted from the student id is not listed in Table 1, display error message "StudentID NOT from RK05, RK20 and RK85". At the end of program execution, display number of calculated students for each program. id 1 0 X X X program code index Figure 1 Table 1 Program Name Microelectronics Engineering Computer Engineering Biomedical Engineering Program Label RK05 RK20 RK85 Program Code 10 20 30 (30 Marks) SULIT SULIT Rubrics for Question 1 No Criteria Total Marks 5-4 points 3-2 points 1-0 points Weightage 1 Variable declaration 2 2 2 Have all variables Have correct syntax but wrong location 1 2 Have correct syntax and correct location Loop with correct test Read input 3 Loop control 4 Have loop 1 Finite loop with correct test condition condition 4 6 2 Comply with restriction student id between 10xxx and 30xxx 5 Formula 3 1 6 Decision structure 3 Have decision Have decision block with block suitable test condition and display invalid invalid student studen! Correct Correct formula and formula walio location Have correct Have partially block correct block Have correct Have correct total formula total formula and display statements Include a few Correct print print location statements and correct location 1 7 6 2 Update total and display 8 4 1 Display number of students Include all print statements and correct location Total Marks / 30

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!