Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _02._Rectangle_Area
- {
- class Program
- {
- static void Main(string[] args)
- {
- double width = double.Parse(Console.ReadLine());
- double height = double.Parse(Console.ReadLine());
- double rectangleArea = width * height;
- Console.WriteLine($"{rectangleArea:f2}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment