Question: b. Write a structured program (using C language) and object-oriented program (using Java) for the following problem. Use your creativity in writing the programs. The

b. Write a structured program (using C language) and object-oriented program (using Java) for the following problem. Use your creativity in writing the programs. The output of the program can be in the form of plain-text. Output in the form of GUI is not required. Write programs to read 30 marks from a user and determine its average, minimum and the maximum values. Assume the user will key-in the correct marks during the program run-time. For the C program, functions need to be included for the different tasks. For the Java program, methods need to be included in the class definition for the different tasks. You are not required to create the objects. Finally, critically evaluate the above two programs with regard to control flow, parameter passing and effectiveness
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
