Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. import java.util.Scanner;
  2. public class TotallyRealFortunes {
  3. public static void main(String[] args){
  4. Scanner console = new Scanner(System.in);
  5. String name = "john";
  6. String Lname = "Smith";
  7. int bmonth = console.nextint();
  8. int bday = 1;
  9. int byear = 2000;
  10. int bankA = 2000;
  11. double dollars = 1.0;
  12. System.out.println(name + Lname + bmonth + bday + byear + bankA + dollars);
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement