|
|
|
|
1. Some students have described me as stuffy just because I refer to them by their names as they appear on my roster: Lastname, Firstname MI. Help me out by writing a program which will convert a list of names from the official style to a more friendly Firstname Lastname. Thus "Weiss, David J." should be changed to "David Weiss". Won't that make for a warmer class environment? And people say computers are impersonal. 2. Help! I've just lost my Captain Midnight Decoder Ring! And the fate of the free world may depend on being able to decipher the secret message we've intercepted. Fortunately, one of our dedicated spies has successfully penetrated the enemy stronghold and has been able to send out what may be the key to the enemy code. All we've got is a fragment: Z = 1; Y = 2. Write a program that can decipher this encrypted message (and any others we may be fortunate enough to intercept): 7 19 22 22 26 20 15 22 21 15 18 22 8 26 7 14 18 23 13 18 20 19 7 |
|
|