Skip to content

Commit 815309d

Browse files
Update README.md
1 parent 7f31d70 commit 815309d

File tree

1 file changed

+9
-0
lines changed
  • Projects/C++ Projects/Basic/Encryption and Decryption of Text

1 file changed

+9
-0
lines changed

Projects/C++ Projects/Basic/Encryption and Decryption of Text/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ In the main function, we are using a switch-case to choose between encryption or
2121
![enc2](https://user-images.githubusercontent.com/79866006/233812501-ab7c5092-e8f5-41bc-b597-818fdde04120.JPG)
2222

2323

24+
### The main() function :
25+
26+
- Declaring the str variable of type ‘char’ to be encrypted or decrypted with a limit of 100 characters.
27+
- The program will take the string input from the user.
28+
- The choice of encrypting or decrypting of the string will be given to you.
29+
- A switch-case control statement is used to select from the Encryption or Decryption case. If selected other than 1 or 2 options then the console will display “Invalid Input !!!”.
30+
31+
32+
2433
<h2>
2534
INFO
2635
</h2>

0 commit comments

Comments
 (0)