Question: Write the java programs for the following problems. 1. Find the error(s) in the following code i. If (average=100) { System.out.println(Perfect Average!);} ii. If
Write the java programs for the following problems. 1. Find the error(s) in the following code i. If (average=100) { System.out.println("Perfect Average!");} ii. If (x == 1); y=2; else if (x == 2); y=3; else if (x == 3) y=4;
Step by Step Solution
There are 3 Steps involved in it
The image contains two snippets of code with a request to identify any errors Lets examine each one ... View full answer
Get step-by-step solutions from verified subject matter experts
