Advertisement
Guest User

Debit Card Number

a guest
Jan 22nd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. package com.company;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class DebitCardNumber {
  6. public static void main(String[] args) {
  7. Scanner scan=new Scanner(System.in);
  8. int first4=Integer.parseInt(scan.nextLine());
  9. int second4=Integer.parseInt(scan.nextLine());
  10. int threerd4=Integer.parseInt(scan.nextLine());
  11. int four4=Integer.parseInt(scan.nextLine());
  12.  
  13. System.out.printf("%04d %04d %04d %04d",first4,second4,threerd4,four4);
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement