Question: In C + + Code 4 . 5 0 . 1 : LAB: Password modifier Many user - created passwords are simple and easy to

In C++ Code
4.50.1: LAB: Password modifier
Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by
replacing characters using the key below, and by appending "!" to the end of the input string.
ibecomes 1
a becomes @
mbecomes M
B becomes 8
s becomes $
Ex: If the input is:
mypassword
the output is:
Myp@ $$word!
Run
(5) History
main.cpp
1 #include
#include
using namespace std;
int main(){
/* Type your code here. */
return 0;
}
In C + + Code 4 . 5 0 . 1 : LAB: Password

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 Programming Questions!