Write a program that will receive data for five courses for year 2020 and 2021. Then the program will find the difference and display in percentege. The data calo was for CSE Department Mid Term Examination average performance in 5 courses. Use array average to hold 5 courses data result. Sample output is given below CSE Department Year 2019 Year 2020 Remark CS101 45.0 60.0 15.0 Increase CS102 CS201 CS202 CS203 70.0 55.0 -15.0 Decrease 80.0 80.0 0.0 Unchange 67.5 70.0 2.5 Increase 80.3 40.0 -40.3 Decrease Note: System must control any irrelevant input user tried to input by giving appropriate messages.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question
(((C language))) and the same shape and arrangement of the question
Write a program that will receive data for five courses for year 2020 and 2021. Then the program will find the difference and display in percentege. The data calculated
was for CSE Department Mid Term Examination average performance in 5 courses. Use array average to hold 5 courses data result. Sample output is given below.
CSE Department
Year 2019
Year 2020
%
Remark
CS101
45.0
60.0
15.0
Increase
CS102
70.0
55.0
-15.0
Decrease
CS201
80.0
80.0
0.0
Unchange
CS202
67.5
70.0
2.5
Increase
CS203
80.3
40.0
-40.3
Decrease
Note: System must control any irrelevant input user tried to input by giving appropriate messages.
Transcribed Image Text:Write a program that will receive data for five courses for year 2020 and 2021. Then the program will find the difference and display in percentege. The data calculated was for CSE Department Mid Term Examination average performance in 5 courses. Use array average to hold 5 courses data result. Sample output is given below. CSE Department Year 2019 Year 2020 % Remark CS101 45.0 60.0 15.0 Increase CS102 70.0 55.0 -15.0 Decrease CS201 80.0 80.0 0.0 Unchange CS202 67.5 70.0 2.5 Increase CS203 80.3 40.0 -40.3 Decrease Note: System must control any irrelevant input user tried to input by giving appropriate messages.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT