Professional Documents
Culture Documents
progrram.cs
using System;
class Program {
public static void Main(string[] args) {
Console.WriteLine("Enter the length of the rectangle");
int length = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the width of the rectangle");
int width = Convert.ToInt32(Console.ReadLine());
Rectangle rectangle = new Rectangle(length, width);
rectangle.Display();
}
}
Rectangle.cs
using System;
public class Rectangle{
private int _length;
private int _width;
OOP ASSES 2
program.cs
using System;
}
}
customer.cs
using System;
class Customer {
private string _customerName;
private string _customerEmail;
private string _customerType;
private string _customerAddress;
OOP assess 3