{//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();

تعليقات

المشاركات الشائعة من هذه المدونة

تمرين 11 (استخدام شاشة ال lcd)