fork download
  1. using System;
  2.  
  3. public class Example
  4. {
  5. public static void Main()
  6. {
  7. int value = 75;
  8. for (int power = 0; power <= 32; power++)
  9. Console.WriteLine("{0}^{1} = {2:N0}",
  10. value, power, (long)Math.Pow(value, power));
  11. }
  12. }
Success #stdin #stdout 0.03s 37016KB
stdin
Standard input is empty
stdout
75^0 = 1
75^1 = 75
75^2 = 5,625
75^3 = 421,875
75^4 = 31,640,625
75^5 = 2,373,046,875
75^6 = 177,978,515,625
75^7 = 13,348,388,671,875
75^8 = 1,001,129,150,390,625
75^9 = 75,084,686,279,296,880
75^10 = 5,631,351,470,947,265,536
75^11 = -9,223,372,036,854,775,808
75^12 = -9,223,372,036,854,775,808
75^13 = -9,223,372,036,854,775,808
75^14 = -9,223,372,036,854,775,808
75^15 = -9,223,372,036,854,775,808
75^16 = -9,223,372,036,854,775,808
75^17 = -9,223,372,036,854,775,808
75^18 = -9,223,372,036,854,775,808
75^19 = -9,223,372,036,854,775,808
75^20 = -9,223,372,036,854,775,808
75^21 = -9,223,372,036,854,775,808
75^22 = -9,223,372,036,854,775,808
75^23 = -9,223,372,036,854,775,808
75^24 = -9,223,372,036,854,775,808
75^25 = -9,223,372,036,854,775,808
75^26 = -9,223,372,036,854,775,808
75^27 = -9,223,372,036,854,775,808
75^28 = -9,223,372,036,854,775,808
75^29 = -9,223,372,036,854,775,808
75^30 = -9,223,372,036,854,775,808
75^31 = -9,223,372,036,854,775,808
75^32 = -9,223,372,036,854,775,808