Notes
![]() ![]() Notes - notes.io |
string opr;
Console.WriteLine("YAPMAK İSTEDİĞİNİZ İŞLEMİ SEÇİNİZ:");
Console.WriteLine("**********************************");
Console.WriteLine("1-Üssü hesaplama");
Console.WriteLine("2-Karekök hesaplama");
Console.WriteLine("3-Mutlak değer alma");
Console.WriteLine("4-Yuvarlama işlemi");
Console.WriteLine("5-Bir üst değere yuvarlama");
Console.WriteLine("6-Büyük sayıyıyı bulma");
Console.WriteLine("7- Küçük sayıyı bulma");
Console.WriteLine("8-Sinus hesaplama");
Console.WriteLine("9-Sinus tersini hesaplama");
Console.WriteLine("10-Kosinus hesaplama");
Console.WriteLine("11-Kosinus tersini hesaplama");
Console.WriteLine("12- Tanjant hesaplama");
Console.WriteLine("13-Tanjant tersini hesaplama");
Console.WriteLine("14-Pi sayısı hesaplama");
Console.WriteLine("15-E sabitini göster");
opr = Console.ReadLine();
if (opr =="1")
{
Console.Write("1.sayıyı giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.Write("2.sayıyı giriniz:");
sayi_2 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Üs alma sonucu:" + " " + Math.Pow(sayi_1,sayi_2));
}
else if (opr == "2")
{
Console.Write("Üssü alınacak sayıyı giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Karekök sonucu:" + " " + Math.Sqrt(sayi_1));
}
else if (opr == "3")
{
Console.Write("Mutlak değeri alınacak sayıyı giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine(Math.Abs(sayi_1));
}
else if (opr == "4")
{
Console.Write("1.sayıyı giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Bir alt tam sayıya yuvarlanmış hali: " + " " + Math.Floor(sayi_1));
}
else if (opr == "5")
{
Console.Write("1.sayıyı giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Bir üst tam sayıya yuvarlanmış hali: " + " " + Math.Ceiling(sayi_1));
}
else if (opr == "6")
{
Console.Write("1.sayıyı giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.Write("2.sayıyı giriniz:");
sayi_2 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Büyük olan sayı: " + " " + Math.Max(sayi_1,sayi_2));
}
else if (opr == "7")
{
Console.Write("1.sayıyı giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.Write("2.sayıyı giriniz:");
sayi_2 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Küçük olan sayı: " + " " + Math.Min(sayi_1, sayi_2));
}
else if (opr == "8")
{
Console.WriteLine("Girilen değer 0 ile 360 derece arasında olmalıdır !!!");
Console.Write("Bir değer giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Girilen açının sinus cinsinden karşılığı: " + " " + Math.Sin(sayi_1));
}
else if (opr == "9")
{
Console.Write("1.sayıyı giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Girilen sayının sinusu karşılığının radyan cinsinden değeri: " + " " + Math.Asin(sayi_1));
}
else if (opr == "10")
{
Console.WriteLine("Girilen değer 0 ile 360 derece arasında olmalıdır !!!");
Console.Write("Bir değer giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Girilen açının cosinus cinsinden değeri: " + " " + Math.Cos(sayi_1));
}
else if (opr == "11")
{
Console.Write("Bir değer giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Girilen sayının kosinus karşılığının radyan cinsinden değeri: " + " " + Math.Acos(sayi_1));
}
else if (opr == "12")
{
Console.WriteLine("Girilen değer 0 ile 360 derece arasında olmalıdır !!!");
Console.Write("Bir değer giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Girilen açının tanjant cinsinden değeri: " + " " + Math.Tan(sayi_1));
}
else if (opr == "13")
{
Console.Write("Bir değer giriniz:");
sayi_1 = double.Parse(Console.ReadLine());
Console.Clear();
Console.WriteLine("Girilen sayının tanjant karşılığının radyan cinsinden değeri: " + " " + Math.Atan(sayi_1));
}
else if (opr == "14")
{
Console.WriteLine("Pi sayısı :" + " " + Math.PI);
}
else if (opr == "15")
{
Console.WriteLine("E sabiti : " + Math.E);
}
else
{
Console.WriteLine("Lütfen programı tekrar başlatın ve listede ki işlemlerden birini seçiniz !!");
}
Console.ReadKey();
}
}
}
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team