All pastes #899160 Raw Edit

Someone

public text v1 · immutable
·published 2008-02-10 22:45 UTC
rendered paste body
using System;
public class Power
{
	public static void Main()
	{
		int num;
		int power=1;
		Console.WriteLine("Enter a number: ");
		num=int.Parse(Console.ReadLine());
		while((power*=2) < num);
		Console.WriteLine(power);
		Console.ReadLine();
			
		
	}
}