C++

profileh2o
lab_20.docx

Lab 20- Encode a character

Top of Form

Bottom of Form

Content

· https://learn.csuchico.edu/images/ci/sets/set01/document_on.gif

l20

Create a program takes a single character and encodes it.  Ask the user for a character, the mulitplier and the adder. You will use this logic in project 5.

 

Example (keyboard input shown in bold):

Enter in a character

D

What is your multiplier?

3

What is your adder?

2

Encrytped: 206