Define a Class in C++. (SEMINAR)

Define a class SEMINAR with the following specification:

Private members
  • ·         SeminarlD                long
  • ·         Topic                        string of 20 characters
  • ·         VenueLocation         string of 20 characters
  • ·         Fee                           float
  • ·         CalcFee() function to calculate Fee depending in VenueLocation


VenueLocation
Fee
Outdoor
5000
Indoor
6500
Others
7500

 Public members
  • ·         Register()  function to accept value for SeminarID, Topic,VenueLocation and call CalcFee() to calculate Fee.
  • ·         ViewSeminar() function to display all the data members on the screen.


1 comment:

  1. Seminarid

    Korralda oma ettevõtte seminar selleks sobivaimas kohas. Lõõgastus koos sisuka seminariga.

    to get more - https://raudsilla.ee/seminarid/

    ReplyDelete

Post your comments

Powered by Blogger.