Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lang C++ Need help starting the code Problem: write a program that asks the user for a string of characters and prints the encrypted message

Lang C++ Need help starting the code Problem: write a program that asks the user for a string of characters and prints the encrypted message back to the user as a string of ASCII values in base 2 OR asks the user for a string of ASCII values in base 2 and prints the decrypted string of characters corresponding to those values back to the user. This program will use functions for converting numbers, getting input from the user, converting input from the user, and error checking. Ask the user if they want to encrypt a message entered as string of text or decrypt a message given as a string of ASCII characters in base 2. If the user wants to encrypt a message of text, then read a line of text that can include spaces, e.g. jen or jen mocello. o Print the users encrypted message back to the user in binary. If the user wants to decrypt a message of characters in binary, then read a string of 1s and 0s from the user. o Print the decrypted message in corresponding text. Continue to prompt the user for encrypting or decrypting until the user doesnt want to do this anymore

(help with ASCII) as well

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

Students also viewed these Databases questions

Question

Define and measure service productivity.

Answered: 1 week ago