Advertisement
Spocoman

03. Rectangle Area

Aug 21st, 2024
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1. namespace RectangleArea
  2. {
  3.     class Program
  4.     {
  5.         static void Main(string[] args)
  6.         {
  7.             int a = int.Parse(Console.ReadLine());
  8.             int b = int.Parse(Console.ReadLine());
  9.  
  10.             int area = a * b;
  11.  
  12.             Console.WriteLine(area);
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement