Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

output of this

import java.util.Scanner;
public class LearnScanner {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Welcome!");
System.out.print("What is your name?");
String name = input.next();
System.out.println("Hello " + name);
}
}
Source by newtarlacstateuniversity.cloudswyft.com #
 
PREVIOUS NEXT
Tagged: #output
ADD COMMENT
Topic
Name
1+2 =