Encode the message using the code

Assignment Help C/C++ Programming
Reference no: EM132075140

Any way anyone could help me with this program?

Read in a code -- one character for each of the letters of the alphbet.

Next, read in a message.

Encode the message using the code.

Repeat.

For example:

Enter the code: QWERTYUIOPASDFGHJKLZXCVBNM
The code is:
[Q][W][E][R][T][Y][U][I][O][P][A][S][D][F][G][H][J][K][L][Z][X][C][V][B][N][M]
Incoming message: ABCD EFG: HIJ!
Coded message: QWER TYU: IOP!
Do you want to play again (Y/N)? N

Reference no: EM132075140

Questions Cloud

Calculate the average of the entered grades : Write a program to do the following: 1. Input number that specifies number of the grades you want to enter.
Calculate the average of the entered grades : Write a program to do the following: 1. Input number that specifies number of the grades you want to enter.
Prepare a financial plan that includes a cash flow forecast : BSBFIM801 : Prepare a financial plan that includes a cash flow forecast, balance sheet forecast and break even analysis for your new business.
What amount would the flexible budget estimate : At an activity level of 180,000 direct labour hours, what amount would the flexible budget estimate for total budgeted fixed costs
Encode the message using the code : Any way anyone could help me with this program? Read in a code -- one character for each of the letters of the alphbet.
Social security numbers for processing in the program : Determine whether you would use a struct or an array to store the social security numbers for processing in the program. Provide a rationale for your response.
Prepare the entry to record bad debt expense for the period : During the period, it had net credit sales of $857,000 and collections of $777,000. Prepare the entries to record sales and collections during the period
Difference between a reference vs a static variable : What is the difference between a Reference vs a Static Variable? When would you use either and why?
What is a queue : Provide an example of a Queue, name the Queue basic operations and what they are responsible for in your example. Note that you cannot use an example

Reviews

Write a Review

C/C++ Programming Questions & Answers

  What is stored in mylist after the following c++ code

Set the value of the twelfth component of beta to four times the value of the eighth component of beta minus 15.

  The relative strengths of acids and bases table

List, in a general way, the information that is provided in the Relative Strengths of Acids and Bases table. Explain how the information in the Relative Strengths of Acids and Bases table is used to support your work in this unit. Use examples to su..

  What are parallel arrays

What are Parallel Arrays? "Also Provide C++ Source Code Example Which Can Compile"

  What are the chances of winning at craps

How many games are won on the first roll, second roll, ..., twentieth roll and after the twentieth roll?

  Define a 2-element array of characters

Write an if statement that sets the variable age to 21 when the flag variable adult is set and define a 2-element array of characters named alpha initialized with the characters P, Q.

  Write a program to create 100 real random numbers

Write a program to create 100 real random numbers and store it into a 1-D array.

  Write a program that requires the number of bits

Write a program that requires the number of bits for the exponent and significant of a floating point representation, then requires two decimal real numbers and an operation, sum, subtraction or multiplication.

  Create a linked list data structure from scratch

You are to create a Linked List data structure from scratch. This linked list should be Templated so that any data could be stored within it. You will create a Linked List Class and a Node Class

  Write the output of the program

Design a C++ program that will interactively prompt for and read the name of the input file interactively prompt for and read the name of a file to write the output of the program to write the following to the specified output file your name, sect..

  Write a c++ program that returns a

Write a C++ program that returns "A" if input is 90 or greater, report "B" if input is 80-89, report "C" if input is 70-79, report "D" if input if 60-69, and report "F" if input is less than 60.

  Reads in a list of integers

Write a program in C++ that reads in a list of integers into and array with base type int. Provide the facility to either read this array from the keyboard or from a file, at the user's option. If the user chooses file input, the program should reque..

  Write cpp program that is menu-driven that allows for choice

Write a C++ program that is menu-driven that allows for the following menu choices:Load an exam: Loading an exam should prompt the user for an exam file.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd