subject

Write the definition of a class that has the following properties:
a. the name of the class is secrettype .
b. the class secrettype has four instance variables: name of type string, age and weight of type int , and height of type
double.
c. the class secrettype has the following member functions:
print— outputs the data stored in the instance variables with the appropriate titles
setname— function to set the name
setage— function to set the age
setweight— function to set the weight
setheight —function to set the height
getname— value-returning function to return the name
value-returning function to return the age
getage
getweight —value-returning function to return the weight
getheight —value-returning function to return the height
default constructor—sets name to the empty string and age , weight , and height to o
constructor with parameter—sets the values of the instance variables to the values specified by the user
d. write the definition of the member functions of the class secrettype as described in part c.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
question
Computers and Technology, 24.06.2019 10:30
You're programming an infinite loop. what must you include in your code to prevent crashes? in roblox
Answers: 2
question
Computers and Technology, 24.06.2019 17:30
What is the main difference between cloud computing and saas? cloud computing is a platform, and saas is software. cloud computing is software, and saas is a platform. cloud computing is a service, and saas is software. cloud computing is a service, and saas is a platform.
Answers: 1
You know the right answer?
Write the definition of a class that has the following properties:
a. the name of the class...
Questions
Questions on the website: 13722359