Question: #677

As you peruse various websites on the Internet looking to create a banner for your new business

Scenario:

As you peruse various websites on the Internet, looking to create a banner for your new business, you notice that many places charge you by the letter. You want to be able to quickly count the letters on the various banners you design, so you decide to create a letter counter for yourself.

Write an application where you ask the user to input the price per letter (PPL), and then ask the user to input the sentence they want printed. The application should then calculate the number of letters and give the user the total cost in the following manner:

You have 40 letters at $3.45 per letter, and your total is $138.00.

[Important] Your application should only use "FOR" loops. Do not use any String or Array functions.

Save your assignment as a .cpp file. Place this .cpp file in a single zipped folder.

Solution: #694

Complete Solution as per our discussion

A+ grade guaranteed! I always give g...
Tutormaster
Rating: A+ Purchased: 11 x Posted By: Vikas
Comments
Posted by: Vikas

Online Users