Question: 3 0 . 2 Password encoder Passwords are encoded before they are stored in the database. Write a program that takes a simple password and
Password encoder
Passwords are encoded before they are stored in the database. Write a program that takes a simple password and a key, and encodes the password. All the consonants, NOT the vowels, will increase to the character specified by the key. If any character is more than z after increasing, it will restart at a Then the whole string is reversed and stored in the database. You can assume all the characters are lowercase.
Ex: If the input is:
password
the output is:
hvoawwat
START CODE:
#include
#include
using namespace std;
int main
Type your code here.
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
