shizen
Mr & Ms Pac-Man
- 9/8/03
- 186
- 0
Create a class, StrEncrypt with the following member functions:
String EncryptForward (String input)
- which will shift the input string by two characters forward
- e.g. “a” becomes “c”
- “d” becomes “f”
- “z” becomes “b”
String EncryptBackword(String input)
- which will shift the input string by two characters backward
- e.g “c” becomes “a”
- “d” becomes “b”
- “b” becomes “z”
Create a windows form to test your class.
String EncryptForward (String input)
- which will shift the input string by two characters forward
- e.g. “a” becomes “c”
- “d” becomes “f”
- “z” becomes “b”
String EncryptBackword(String input)
- which will shift the input string by two characters backward
- e.g “c” becomes “a”
- “d” becomes “b”
- “b” becomes “z”
Create a windows form to test your class.