Define a Class in C++. (COMPETITION)
Define with complete function
definitions COMPETITION in C++ with the following specifications:
Private members
- · event_no integer
- · description char (30)
- · score integer
- · qualified char
Public members
- · Input() To take input for event_no, description and score.
- · Award() To award qualified ‘y’ if score is more than the cut off score as into to the function else award ‘N’.
- · Show() To display all details.
answers?
ReplyDelete