martinvalchev

Debit Card Number

Jan 24th, 2018
832
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.64 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _01.Debit_Card_Number
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             int a = int.Parse(Console.ReadLine());
  10.             int b = int.Parse(Console.ReadLine());
  11.             int c = int.Parse(Console.ReadLine());
  12.             int d = int.Parse(Console.ReadLine());
  13.  
  14.             Console.Write($"{a:d4}");
  15.             Console.Write($" ");
  16.             Console.Write($"{b:d4}");
  17.             Console.Write($" ");
  18.             Console.Write($"{c:d4}");
  19.             Console.Write($" ");
  20.             Console.Write($"{d:d4}");
  21.             Console.Write($" ");
  22.  
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment