Horse Class Homework
Create a base Class Called Horses with the following properties
Name, Breed, Gender, Weight, Hands
Create a method in the horse class called CalculateValue
Value = Weight * 1.5
Create a derived class called RaceHourse. Add the following Properties
Mile_Time
Winnings
Create a function in the RaceHourse class called CalculateValue
Value = Weight*2 + Winnings
Create a derived class called WorkHourse. Add the following Property
Pull_Amount
In the Main form add the following instance of a Horse and display the information in the appropriate textboxes when Display Horse Information button is clicked
Name: Daisy, Breed: Pony, Gender: Female, Weight: 2000, Hands: 15
In the Main form add the following instance of a Race Horse and display the information in the appropriate textboxes when Display Race HorseInformation button is clicked
Name: Speedy, Breed: Thoroughbred, Gender: Male, Weight: 2100 Hands: 16, Mile Time: 2.75
Winnings: 1200000
In the Main form add the following instance of a Work Horse and display the information in the appropriate textboxes when Display Workhorse Information button is clicked
Name: Mongo, Breed: Draft Horse, Gender: Male, Weight: 2600, Hands: 18, Pull Weight: 3450
You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.
Latest completed orders:
# | topic title | discipline | academic level | pages | delivered |
---|---|---|---|---|---|
6
|
Writer's choice
|
Business
|
University
|
2
|
1 hour 32 min
|
7
|
Wise Approach to
|
Philosophy
|
College
|
2
|
2 hours 19 min
|
8
|
1980's and 1990
|
History
|
College
|
3
|
2 hours 20 min
|
9
|
pick the best topic
|
Finance
|
School
|
2
|
2 hours 27 min
|
10
|
finance for leisure
|
Finance
|
University
|
12
|
2 hours 36 min
|