C++ program
Write a C++ program that will create a class named personalPassword.
This class will have two data members:
- password of character type
- character type pointer passptr
The personalPassword class will have the following member functions:
1. The default constructor
2. setter and getter functions for the password
3. passEncrpyt() which convert the user entered password into encrypted form
4. passDcrpyt() which convert back the encrypted password into the original password
Ø Default constructor will initialize all data members with default values. The message “Default constructor called… and the default value of each data member should be displayed whenever an object will be created using default constructor.(See the sample output)
Ø In main() function, create an object of class personalPassword by using the default constructor.
Ø With the help of setter function, first you will set value of password and then with the help of getter function, you will display the actual password.
Ø Then call the passEncrpyt and passDcrpyt function in order to display the password in encrypted and decrypted form respectively.
7 years ago 25
Purchase the answer to view it
- Assignmentdone.docx
Purchase the answer to view it
Purchase the answer to view it
- Order1018216.docx
Purchase the answer to view it
- Integrating Culture and Diversity in Decision Making: The CEO and Organizational Culture Profile
- BUS 308 Week 2 DQ 2 Variation
- help
- Please finish the entire homework~~ Need HELP
- Microsoft Office Excel "stimulation"
- Stock valuation is the process of discounting future cash flows. This process is important because you need an estimate of the stocks worth. What other factors determine the price of the stock?
- BCOM 230 Week 4 Individual Assignment Basis of Power
- IT powerpoint
- Case analysis forecasting and planning walmart
- Final Paper