Question: java pleaee Use the following code to answer the next 3 questions public static void main(Strine ares) Scanner er new Scannersystem.In) int sor.nextInt(); inty X3
Use the following code to answer the next 3 questions public static void main(Strine ares) Scanner er new Scannersystem.In) int sor.nextInt(); inty X3 If Xy101 if (10) System.out.print("); > else System.out. 3 > elst System.out.print("") 1 System.out.arinin) Assuming the program is executed repeatedly with the user imputine a different number each time Write the corresponding output for each input Output Input 14 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
