Question: 9. Locate and mark the syntax errors in the following program (10 points): */What is wrong with this program? */ public MyProgram public static void

9. Locate and mark the syntax errors in the following program (10 points): */What is wrong with this program? */ public MyProgram public static void main (String II args) int a, b, c a 3 a+b c System.out (The value of c is " c); 10. There is a simple rule to tell the direction of one-way streets in Manhattan: Even numbered streets run eastbound and odd numbered streets run westbound. Write a Java program that can tell a user in which direction a one-way street runs. Use dialog boxes for input/output. (15 points). Extra-credit (2 points): If your program is not working, identify which part of the program is causing the problems (General Structure, Declarations, Input, Processing, Output)? If you were allowed one question like "How can I do ? Which question would you ask
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
