public static void Main()
Console.WriteLine("Enter the Width of rectangle:");
int width=int.Parse(Console.ReadLine());
Console.WriteLine("Enter the height of rectangle:");
int height=int.Parse(Console.ReadLine());
public static void calculate(int a,int b)
Console.WriteLine("the space is: "+s);
Console.WriteLine("the perimeter is: "+ p);