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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started