Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- int input = int.Parse(Console.ReadLine());
- while(input > 1)
- {
- input = input / 2;
- Console.WriteLine(input);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement