Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class RectangleArea
- {
- static void Main()
- {
- Console.Write("a = ");
- var a = decimal.Parse(Console.ReadLine());
- Console.Write("b = ");
- var b = decimal.Parse(Console.ReadLine());
- Console.WriteLine("Rectangle Area:{0}", a * b);
- }
- }
Add Comment
Please, Sign In to add comment