skipter

Rectangle Area

May 21st, 2017
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace ConsoleApp4
  7. {
  8.     class Program
  9.     {
  10.         static void Main(string[] args)
  11.         {
  12.             var a = decimal.Parse(Console.ReadLine());
  13.             var b = decimal.Parse(Console.ReadLine());
  14.  
  15.             var area = a * b;
  16.             Console.WriteLine(area);
  17.          }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment