Advertisement
NadyaMisheva

math.pow - na stepen

Nov 1st, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.23 KB | None | 0 0
  1. using System;
  2.                    
  3. public class Program
  4. {
  5.     public static void Main()
  6.     {
  7.        
  8.     int a = int.Parse(Console.ReadLine());
  9.         int b = int.Parse(Console.ReadLine());
  10.         double result = Math.Pow(a, b);
  11.         Console.WriteLine(result);
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement