Question: public class MyClass { public static void main(String args[]) { int i=0; int a[]={0,1,2,3,4,-2,-7,12,73,7}; for(i=0;i
public class MyClass { public static void main(String args[]) { int i=0; int a[]={0,1,2,3,4,-2,-7,12,73,7}; for(i=0;i
You are missing the supplemental project files, which allows the switch graphical display to happen. The code should show a dialog window that prompts the user for a value and then displays the resulting output. You've got the guts of the logic here, but the graphical portion. Essentially, you have no user interface.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
