daily pastebin goal
5%
SHARE
TWEET

Untitled

rmword Oct 12th, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.*;
  2.  
  3. public class Student
  4. {
  5.     public static void main(String [] args)
  6.     {
  7.         String Nama;
  8.         double grade;
  9.        
  10.         Scanner txtscan=new Scanner(System.in);
  11.         Scanner scan=new Scanner(System.in);
  12.         System.out.println("Student's Grades Program");
  13.         System.out.println("Enter Student's Name :");
  14.         Nama = txtscan.nextLine();
  15.         System.out.println("Enter Student's Grade :");
  16.         grade = scan.nextDouble();
  17.        
  18.         System.out.println("Student "+Nama+" has Grade "+grade);
  19.     }
  20. }
RAW Paste Data
Top