Question: Modify the following program to fix syntax and logical errors. The program has to print the product and the sum of 3 integers. public class
Modify the following program to fix syntax and logical errors. The program has to print the product and
the sum of integers.
public class JavaApplication
public static void mainString args
int number
int number
int number
int product ;
int sum ;
product number Number number;
System.out.printThe product is "product";
System.out.printThe sum is Sum;
The output has to be as the following:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
