2的十次方

 int sum = 2;
            for (int i = 0; i <9; i++)
            {
                sum = sum * 2;
            }
            Console.Write(sum.ToString());

            Console.ReadLine();

posted @ 2012-05-01 17:28  kin2321  阅读(776)  评论(0编辑  收藏  举报