{//NASEEM برنامج يقيس محيط المستطيل
int length;
int width;
int circumference;
Console.WriteLine("how much the length");
length = int.Parse(Console.ReadLine());
Console.WriteLine("how much the width");
width = int.Parse(Console.ReadLine());
Console.WriteLine("the circumference is");
circumference = (length + width) * 2;
Console.WriteLine(circumference);
Console.ReadKey();
int length;
int width;
int circumference;
Console.WriteLine("how much the length");
length = int.Parse(Console.ReadLine());
Console.WriteLine("how much the width");
width = int.Parse(Console.ReadLine());
Console.WriteLine("the circumference is");
circumference = (length + width) * 2;
Console.WriteLine(circumference);
Console.ReadKey();
تعليقات
إرسال تعليق