Advertisement
Guest User

Untitled

a guest
Nov 7th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. int a = int.Parse (Console.ReadLine());
  2.         double b = double.Parse (Console.ReadLine());
  3.         double c = double.Parse (Console.ReadLine());
  4.         string d = Convert.ToString(a, 2).PadLeft(10,'0');
  5.  
  6.         Console.WriteLine("|{0,-10:X}|{1}|{2,10:F2}|{3,10:0.00}",a,d,b,c);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement