NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io



int sayi1, sayi2, sayi3;
Console.Write("1. Sayıyı Girin :");
sayi1 = Convert.ToInt32(Console.ReadLine());
Console.Write("2. Sayıyı Girin :");
sayi2 = Convert.ToInt32(Console.ReadLine());
Console.Write("2. Sayıyı Girin :");
sayi3 = Convert.ToInt32(Console.ReadLine());
if (sayi1 > sayi2 && sayi1 > sayi3)
Console.WriteLine("1. Sayı Büyük");
else if(sayi2 > sayi1 && sayi2 > sayi3)
Console.WriteLine("2.Sayı Büyük");
else
Console.WriteLine("3.Sayı Büyük");
Console.ReadKey();

-----------------------------------------------------------

int a;
for (a = 21;a>=3;a=a-2)
{
Console.WriteLine(a);
}
Console.ReadKey();

-----------------------------------------------------------

nt i;
Console.Write("Sayı :");
i = Convert.ToInt32(Console.ReadLine());
if ( i % 2 == 0)
Console.WriteLine("TEK");
else
Console.WriteLine("ÇİFT");
Console.ReadKey();



(1 TEK 0 ÇİFT)
-----------------------------------------------------------

Console.Write("Sayı gir :");
int a = Convert.ToInt32(Console.ReadLine());
switch (a)
{
case 1: Console.WriteLine("Pazartesi"); break;
case 2: Console.WriteLine("SALI"); break;
case 3: Console.WriteLine("ÇARŞAMBA"); break;
case 4: Console.WriteLine("PERŞEMBE"); break;
case 5: Console.WriteLine("CUMA"); break;
default: Console.WriteLine("HATA"); break;
}
Console.ReadKey();


-----------------------------------------------------------


for (int i = 1; i <= 10; i++)
{
Console.WriteLine((i * i).ToString());
}
Console.ReadKey();

-----------------------------------------------------------

int a,b,t;
Console.WriteLine("1. Sayıyı Girin :");
a = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("2. Sayıyı Girin :");
b = Convert.ToInt32(Console.ReadLine());
t = a + b;
Console.WriteLine(t);
Console.ReadLine();


-----------------------------------------------------------

Console.Write("Sıcaklık değerini giriniz:");
int sicaklik = Convert.ToInt32(Console.ReadLine());
if (sicaklik >= 0 && sicaklik <= 10)
{
Console.WriteLine("Soğuk");
}
else if (sicaklik >= 11 && sicaklik <= 25)
{
Console.WriteLine("Ilık");
}
else if (sicaklik >= 26 && sicaklik <= 40)
{
Console.WriteLine("Sıcak");
}
Console.ReadKey();


int a;
Console.Write("Sıcaklık Değerini girin :");
a = Convert.ToInt32(Console.ReadLine());
if (a < 25)
{
Console.WriteLine("SOĞUK");
}
else if (a > 25)
{
Console.WriteLine("Sıcak");
}
Console.ReadKey();


-----------------------------------------------------------

for (int i = 1; i <= 100; i += 2)
{
Console.WriteLine("{0}.sayı", i);
}

Console.ReadKey();


-----------------------------------------------------------

int a,b,c,ort;
double e;
Console.Write("1. Not :");
a = Convert.ToInt32(Console.ReadLine());
Console.Write("2. Not :");
b = Convert.ToInt32(Console.ReadLine());
Console.Write("3. Not :");
c = Convert.ToInt32(Console.ReadLine());
ort = a + b + c;
e = ort / 3;
Console.WriteLine(e);
Console.ReadKey();


-----------------------------------------------------------

int a,b,c,ort;
double e;
Console.Write("1. Not :");
a = Convert.ToInt32(Console.ReadLine());
Console.Write("2. Not :");
b = Convert.ToInt32(Console.ReadLine());
Console.Write("3. Not :");
c = Convert.ToInt32(Console.ReadLine());
ort = a + b + c;
e = ort / 3;
if (e < 50)
Console.WriteLine("Kaldı");
else
Console.WriteLine("Geçti");
Console.ReadKey();

----------------------------------------------------------

int ort;
Console.Write("KArne Ortalaması :");
ort = Convert.ToInt32(Console.ReadLine());
if (ort >= 0 && ort <= 69)
Console.WriteLine("nah");
else if
(ort >= 69 && ort <= 84)
Console.WriteLine("tşk");
else
Console.WriteLine("tkdr");
Console.ReadKey();

----------------------------------------------------------

int ort, e;
Console.Write("1. Not :");
int a = Convert.ToInt32(Console.ReadLine());
Console.Write("2. Not :");
int b = Convert.ToInt32(Console.ReadLine());
ort = a + b;
e = ort / 2;
if (e < 50)
Console.WriteLine("KALDI");
else
Console.WriteLine("geçti");
Console.ReadKey();
----------------------------------------------------------

int a,alan,cevre;
Console.Write("uzunluk nedir? :");
a = Convert.ToInt32(Console.ReadLine());
alan = a * 4;
cevre = a * a;
Console.WriteLine("Alan"+alan);
Console.WriteLine("Cevre"+cevre);
Console.ReadKey();

----------------------------------------------------------

int i,s1, fak = 1;
Console.Write("Fak Sayı :");
s1 = Convert.ToInt32(Console.ReadLine());
for (i = s1;i > 0;i--)
{
fak *= i;
}
Console.WriteLine("Faktoriyel= "+fak);
Console.ReadLine();

----------------------------------------------------------

string a;
int b,i;
Console.Write("Bir kelime giriniz :");
a = Convert.ToString(Console.ReadLine());
Console.Write("kelimenin kaç defa yazılacağını giriniz :");
b = Convert.ToInt16(Console.ReadLine());
for (i = 1; i <= b; i++)
{
Console.WriteLine(a);
}
Console.ReadLine();

----------------------------------------------------------

char i;
for (i = 'a'; i <= 'z'; i++)
{
Console.WriteLine(i);
}
Console.ReadKey();

----------------------------------------------------------
YILDIZ SORUSU

string yildiz = "";
for (int i = 5; i >= 1; i--)
{
for (int k = 0; k <= 5 - i; k++)
yildiz = yildiz + "*";
Console.WriteLine(yildiz);
yildiz = "";
}

Console.ReadKey();
     
 
what is notes.io
 

Notes.io is a web-based application for 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 12 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

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.