Project #46063 - Derived Classes

VISUAL STUDIOS, C#, MUST INCLUDE DEBUG AND SOLUTION FILES, BUILD OFF ATTACHED FILE

 

Instructions

Create a C# .NET console application that creates a base class and three derived classes. Create a program to test the class. Write, debug, and execute the C# code.

We recommend that you modify the assignment you created in Week 3 and use this assignment as an incremental part of Project 2 - GUI and OOP Application.

If you are taking this class online: Please complete the assignment instructions as stated below:

The application will modify Character to be a base class and create three derived classes from Character. You may choose the classes but they should be something like Warrior, Wizard, and Thief. Character must have at least one string data member and one numeric data member, like name and species. Each derived class must have one data member unique to it, like strength for the Warrior and dexterity for the Thief. Modify the calcPoints() function in Character from last week for use in your classes. You should consider adding a function called input() to all classes and using it to prompt the user for input. The input() functions in the derived classes can call the input() function in the base class. The most important work for the week is not the details of these functions, but that you can override functions in the derived classes and create the derived classes at all.

In a MessageBox, display the information about each character and the total life points for all characters. (MessageBox is optional, but preferred: you must display the character information but at this point are not required to use MessageBox, although you should contact your instructor if you are having issues).

When done, zip all applicable files into one file.

Subject Computer
Due By (Pacific Time) 11/09/2014 01:00 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy