Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Sheets
- {
- static void Main(string[] args)
- {
- string inputInBinary = Convert.ToString(int.Parse(Console.ReadLine()), 2).PadLeft(11, '0');
- for (int i = 0; i < inputInBinary.Length; i++)
- {
- if (inputInBinary[i] == '0')
- {
- Console.WriteLine("A"+i);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement