Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CarLotSimulatorApp/CarLotSimulator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ static void Main(string[] args)
{
//TODO

//Create a seperate class file called Car
//Create a separate class file called Car
//Car shall have the following properties: Year, Make, Model, EngineNoise, HonkNoise, IsDriveable
//Car shall have the following methods: MakeEngineNoise(), MakeHonkNoise()
//The methods should take one string parameter: the respective noise property


//Now that the Car class is created we can instanciate 3 new cars
//Now that the Car class is created we can instantiate 3 new cars
//Set the properties for each of the cars
//Call each of the methods for each car

Expand All @@ -26,8 +26,8 @@ static void Main(string[] args)

//Create a CarLot class
//It should have at least one property: a List of cars
//Instanciate the a Carlot at the beginning of the program and as you create a car add the car to the list.
//At the end iterate through the list printing each of car's Year, Make, and Model to the console
//Instantiate the Carlot at the beginning of the program and as you create a car add the car to the list.
//At the end iterate through the list printing each car's Year, Make, and Model to the console
}
}
}