Advertisement
desislava_topuzakova

03. Rectangle Area

Jun 4th, 2022
1,059
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.55 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _03._Rectangle_Area
  4. {
  5.     internal class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             //1. променлива за страна а
  10.             //2. променлива за страна b
  11.             //3. изчислявам лицето = а * b
  12.             //4. отпечатвам лицето
  13.  
  14.             int a = int.Parse(Console.ReadLine());
  15.             int b = int.Parse(Console.ReadLine());
  16.             int area = a * b;
  17.             Console.WriteLine(area);
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement