Question: All three are C++ object-oriented programs. They can generate a password consisting of random characters but each has its own specific requirements described below. Please

All three are C++ object-oriented programs. They can generate a password consisting of random characters but each has its own specific requirements described below.

All three are C++ object-oriented programs. They can generate a password consistingof random characters but each has its own specific requirements described below.Please help, thank you in advance 1. pwdg_oo.cpp (20 points with no Please help, thank you in advance

1. pwdg_oo.cpp (20 points with no partial credits) This program defines a class called Pwdg (i.e., password generator). You may include in this class as many data members as needed but they must be all private. For grading purpose, you must implement a zero-parameter public member function called getPWD0 in this class to returnm a password of string type. The length of the password is given when a Pwdg object is created in main Every password generated by get W D must consist of randomly selected characters from ten digits of 0 9,521 etters of a and A 1us 11 bols of % & including thc curly braccs. All passwords must be truly randomly gencrated, mcaning there should be no fixed patterns or predictable trends that can be traccd if the program is cxccuted ropcatcdly. Hint: rescarch rand0 and srand0. Do not usc Random class becausc it is a .NET class, not supportcd by standard C++. The main) function performs the following three tasks .Prompts "Enter length of password: " to gct thc length from uscr. 2. Makc a Pwdg objcct with the length spccificd abovc and call getPWD) of the objcct to gct a password. 3. Displays the password in the form "Password The figure below shows a sample screenshot of executing pwdgoo.cpp :13331> :13331> :13331>g+ pwdg oo.cpp :13331>a nter length of password: 10 assword: 60EXVi&TNN

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!