Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  1
Language: JAVA
Code:
import java.util.Scanner;
public class 1ijtP5yi {

    public static void main(String[] args) {
        short age;
     Scanner kb = new Scanner(System.in);
     System.out.println(" How old are you?");
     age = kb.nextshort();
        System.out.println(" So you are " + age + " years old?");
    }

}          
Comments: