daily pastebin goal
5%
SHARE
TWEET

JavaProject

PitrHandayani Oct 16th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package inputdata;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class Datasaya {
  6.     /**
  7.      *
  8.      * @param args
  9.      */
  10.     public static void main (String[] args) {
  11.         String Nama;
  12.         Scanner keyboard = new Scanner (System.in);
  13.         System.out.println("======================");
  14.         System.out.println("Program Input Data Nama");
  15.         System.out.println("======================");
  16.         System.out.print("Masukan Nama = ");
  17.         Nama = keyboard.next();
  18.         System.out.println("Nama Saya Adalah "+Nama);
  19.         keyboard.close();
  20. {
  21.  
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top