using System;
namespace ConsoleApp7
{
class Program
static void Main(string[] args)
long b = 1;
Console.Write("Введите а: ");
long a = Convert.ToInt32(Console.ReadLine());
a = a * a;
b = a * a;
b = b * b;
Console.WriteLine("a^8 = " + b);
b = (b * a);
Console.WriteLine("a^10 = " + b);
Console.Read();
}
using System;
namespace ConsoleApp7
{
class Program
{
static void Main(string[] args)
{
long b = 1;
Console.Write("Введите а: ");
long a = Convert.ToInt32(Console.ReadLine());
a = a * a;
b = a * a;
b = b * b;
Console.WriteLine("a^8 = " + b);
b = (b * a);
Console.WriteLine("a^10 = " + b);
Console.Read();
}
}
}