Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int a = int.Parse (Console.ReadLine());
- double b = double.Parse (Console.ReadLine());
- double c = double.Parse (Console.ReadLine());
- string d = Convert.ToString(a, 2).PadLeft(10,'0');
- 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