C# Kullanının girdiği sayının iki katını ekrana yazan console programı

S

Shiva

Thread Starter
Veteran
Joined
Jul 31, 2019
Messages
4,067
Reaction score
13,335
Location
Berlin
***Kullanının girdiği sayının iki katını ekrana yazan program****

C#:
int sayi;
Console.Write("Bir sayı giriniz :");
sayi = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Girdiğiniz sayının 2 katı = {0}",sayi*2);
Console.ReadKey();
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Theme editor

Top Bottom