import java.util.Scanner;
public class App {
/**
* The start point of the program
*
* @param args
*/
public static void main(String[] args) {
// name, account number, account balance
Scanner keyBoard = new Scanner(System.in);
System.out.print("Enter your name: ");
String name = keyBoard.nextLine();
System.out.print("Enter your account number: ");
String accountNumber = keyBoard.nextLine();
System.out.print("Enter your account balance: ");
double accountNalance = keyBoard.nextDouble();
keyBoard.close();
}
}
Comments
Leave a comment