Question: Subject Name. Programming 1. Identify and correct the 4th errors in the program below that written to find average of two weights. (1 Mark) public

Subject Name. Programming
Subject Name. Programming 1. Identify and correct the 4th errors in the

1. Identify and correct the 4th errors in the program below that written to find average of two weights. (1 Mark) public class Add { public static void main(String []args) { double weight1=85.5 double weight2=92.3; double aver Weight = weight1 + weight2/2; system.out.println("Average is : + aver); } }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To correct the errors in the program lets go through it step by step Syntax Errors ... View full answer

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!