+1(316)4441378

+44-141-628-6690

Our Services

Archive for the ‘C#, Visual Studio’ Category

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
Winni

Black Jack

For this project you will be simulating the game of Blackjack. Our program will not be exactly like the casino game of blackjack but it should be fairly close. You can use your own Deal card Method from the previous homework if you want.


Program Specifications - The program will simulate a game of blackjack where there is one player and one dealer.

    Deal Button will deal two cards to the dealer. One face up and one face down.  Also deals two cards to the player. One face up and one face down.


    Player Face Down Card- If the player clicks on the face down card it will show the card.


      Hit Button After the deal if the player wants a card they can click on the hit button. The player can take up to three hits. Each hit should result in another card being dealt to the player. If the player goes over 21 with any hit your program should signal that the game is over and the dealer has won.


Multiple forms/Shopping Cart

Shopping Cart Homework has three forms, select at least two favorite bands and at least 4 albums. Populate the listbox with their albums and price. Please see the attachment materials. Here are the two favorite bands. Thank you.

Metallica:
Black Album - $7.84
Master of Puppets - $19.88
And Justice for All - $15.99
Garage Inc. - $30.96

Megadeth:
Countdown to Extinction - $28.88
Youthanasia - $28.91
So Far So Good, So What - $49.99
Dystopia - $26.82
Copyright © 2016 Quality Research Papers All Rights Reserved