odev

mail@pastecode.io avatar
unknown
csharp
4 years ago
689 B
2
Indexable
Never
using System;

namespace AppWithPlugin
{
    class Program
    {
        static void Main(string[] args)
        {   
            Console.WriteLine("1. sayi girin: ");
            int a1 = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("2. sayi girin: ");
            int a2 = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("3. sayi girin: ");
            int a3 = Convert.ToInt32(Console.ReadLine());

            int toplama = a1+a2+a3;
            int carpma = a1*a2*a3;
            int cikarma = a1-a2-a3;
            Console.WriteLine("toplama: {0} \ncikarma: {1} \ncarpma: {2}",toplama,cikarma,carpma);

        }
    }
}