ASCII code 502.docx - Name Dawson Cevasco 05.02 ASCII Code...

This preview shows page 1 - 2 out of 5 pages.

Name Dawson Cevasco05.02 ASCII CodeThis assignment has three parts.Part One: ProgrammingWrite a program to encode and decode a message. Use the following guidelines to write yourprogram:1Think of a secret message you want to encode. Be creative! Maybe a famous quote, a favoritelyric, or your personal motto.2Using theord()andchr()functions, encode and decode the message.3Optional: Ask the user to guess the message before revealing it.Display the encoded message in binary, or include a twist by adding 2 to the number.When decoding, remember to reverse the steps.4Neatly print the encoded and decoded messages to the screen.5Write the pseudocode for this program. Be sure to include any needed input, calculations, andoutput.Insert your pseudocode here:
Part Two:Code the program

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 5 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
N/A
Tags
Character encoding, Dawson Cevasco

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture