求任意數(shù)的立方
int n = Convert.ToInt32(Console.ReadLine());//n是你要輸入的任意數(shù)
int sum = 1;
for (int a = 0; a < n; a++)
sum *= n;
Console.WriteLine(sum);