Project #47168 - C++

Q1)

Create a program that reads in an arbitrary number of items and stores them in a vector.  Then output the contents of the vector.

Example (keyboard input shown in bold):

Enter in your shopping list.  Enter in * to indicate you are done

chocolate milk

eggs

cheese

*

Here is your list:

chocolate milk

eggs

cheese

 

 

 

---------------------------------------------------------

Q2)

 

Write a program that converts a char to ascii.

Exampe (keyboard input shown in bold):

Enter in a character

C

67

 

---------------------------------------------------------------

Q3)

 

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

 

-------------------------------------------------------------------------

Q4)


Create

a program reads in a senctence and encodes it.  Ask the user for the sentence, a mulitplier and an adder. You will use this logic in project 5.

 

Example (keyboard input shown in bold):

What is your multiplier?

4

What is your adder?

3

Enter in a sentence you want encrypted

The butler did it

Encrytped: 

339 419 407 131 395 471 467 435 407 459 131 403 423 403 131 423 467

 

 

-----------------------------------------------------------------------------

 

Q5)

description in the attachment

Subject Computer
Due By (Pacific Time) 11/13/2014 12:00 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy