Question: use c99 to solve Write a program that askes the user to enter a password. the password should not contain spaces. After your program reads

use c99 to solve use c99 to solve Write a program that askes the user to

Write a program that askes the user to enter a password. the password should not contain spaces. After your program reads the password from keyboard, it will call a special function named encrypt(char[]) which encrypts the password according to the following rules: (assume the password is small letters) 1. reverse the word. 2. if it contains the character 's' then replace it with $ 3. if it contains the character 'a' then replace it with@ 4. if it contains the character 'o' then replace it with 'O' (zero) The encrypted password should be stored in a file named login.txt

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!