Q.2.1 Contain a two dimensional array to contain three student registration figures for five different information technology courses and a single array to contain the course names. COURSE REGISTRATION 1 REGISTRATION 2 REGISTRATION 3 Programming 101 50 10 50 Web Dev 101 10 50 20 Databases 101 10 10 20 Logic 101 10 7 5 Management 101 30 10 50 Q.2.2 Calculate and print the average of the course registration figures for each IT course. Q.2.3 Determine if the IT course will be run or not. If the average registration figures of the IT course is greater than or equal to 70 then the IT course will run. Q.2.4 Print out each course name with the average registration and if the course will run.
Q.2.1 Contain a two dimensional array to contain three student registration figures for five different information technology courses and a single array to contain the course names.
COURSE REGISTRATION 1 REGISTRATION 2 REGISTRATION 3
Web Dev 101 10 50 20
Logic 101 10 7 5
Management 101 30 10 50
Q.2.2 Calculate and print the average of the course registration figures for each IT course.
Q.2.3 Determine if the IT course will be run or not. If the average registration figures of the IT course is greater than or equal to 70 then the IT course will run.
Q.2.4 Print out each course name with the average registration and if the course will run.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images