nvnnaidenov

RectangleArea - Chapter 1.0

Feb 9th, 2022
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. //Task 005, Chapter 1.0
  2. using System;
  3.  
  4. public class RectangleArea
  5. {
  6.     static void Main()
  7.     {
  8.         double a = double.Parse(Console.ReadLine());
  9.         double b = double.Parse(Console.ReadLine());
  10.  
  11.         double area = a * b;
  12.  
  13.         Console.WriteLine(area);
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment