Question: By now youve written a few programs and encountered a few common errors. In this assignment you will demonstrate your knowledge by fixing the errors
By now youve written a few programs and encountered a few common errors. In this assignment you will demonstrate your knowledge by fixing the errors you find in the program below. Copy out the text from this document and fix the code. Paste the corrected code in the area below, and make a list of the problems you fixed.
Import java.util.Scanner;
public class Test1 { public static void main(String[] args) { Scaner input = new Scanner(); System.out.print("Enter an integer: "); int v = Input.nextInt()); System.out.printLn("You entered " & v); System.out,print("Enter a double: "); double v2 = input.nextInt(), Systems.println("You entered " & v2); };
PUT YOUR CORRECTED CODE HERE:
LIST OF PROBLEMS FIXED:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
