Advertisement
Kuncavia

RectangleArea

Aug 2nd, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.27 KB | None | 0 0
  1. using System;
  2.  
  3.     class RectangleArea
  4.     {
  5.         static void Main()
  6.         {
  7.             var a = decimal.Parse(Console.ReadLine());
  8.             var b = decimal.Parse(Console.ReadLine());
  9.             Console.WriteLine(a * b);            
  10.         }
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement