Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Program
- {
- public static void Main(string[] args)
- {
- double one = double.Parse(Console.ReadLine());
- double two= double.Parse(Console.ReadLine());
- double result = Power(one, two);
- Console.WriteLine(result);
- }
- public static double Power(double a,double b)
- {
- return Math.Pow(a, b);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement