Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Program
- {
- public static void Main(string[] args)
- {
- double first = double.Parse(Console.ReadLine());
- double second = double.Parse(Console.ReadLine());
- double area=RectangleArea(first, second);
- Console.WriteLine(area);
- }
- public static double RectangleArea(double a,double b)
- {
- return a * b;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement