Question: Java c) Construct an output statement to display the average of the marks and display related grade based on Table I. Average of marks: 80
c) Construct an output statement to display the average of the marks and display related grade based on Table I. Average of marks: 80 Grade: A Figure 1(b) [4 marks] d) Construct an exception handling to handle an error if user input a value in wrong format. Example of error shows in Figure 1(d). Enter marks 1: hundred Error!Invalid Input Type. Figure 1d) [4 marks) a) Construct an input statement using BufferedReader class in order to prompt user to input 3 marks from keyboard. Example of result shows in Figure 1(a). Enter marks 1: Enter marks 2: Enter marks 3: Figure 1(a) [4 marks) b) Construct a selection statement in order to display grade based on Table 1. Table 1 Marks Average 80-100 Grade 70-79 B 50-69 40-49 D 39 and below F [12 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
