The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 2 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
(Practice) Write a class declaration section for each of the following specifications. In each case, include a prototype for a constructor and a member function named showdata() that can be used to display data member values.
a. A class named Time that has integer data members named secs, mins, and hours b. A class named Complex that has double-precision data members named real and imaginary c. A class named Circle that has integer data members named xcenter and ycenter and a double-precision data member named radius
d. A class named System that has character data members named computer, printer, and screen, each capable of holding 30 characters (including the end-of-string NULL), and double-precision data members named compPrice, printPrice, and scrnPrice
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on-----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be-----------