Calculate the number of letters

Assignment Help Basic Computer Science
Reference no: EM13926530

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.

Reference no: EM13926530

What are the shingles in the first sentence

If we use the stop-word-based shingles of Section 3.2.4, and we take the stop words to be all the words of three or fewer letters, then what are the shingles in the first se

Knowledge of two dierent ciphertext sequences

Explain how only the knowledge of two dierent ciphertext sequences C = C1C2 Cn and C0 = C01 C02 C0n, obtained by applying the same secret key, can compromise the security o

Vitamin water responds to the claim

Vitamin Water responds to the claim by stating that the ingredients are clearly on the label. Discuss whether manufacturers have any duty to warn the public about their prod

Design an electronic monitoring plan

Using the floor plan of a building you are familiar with, design an electronic monitoring plan that includes closed-circuit television, burglar alarms with appropriate senso

What can abc corporation do about this

The subcontractor states that this cannot be done without additional funding. This problem has occurred with other subcontractors as well. What can ABC Corporation do about

What is the expected value of the jaccard similarity of s

Suppose we have a universal set U of n elements, and we choose two subsets S and T at random, each with m of the n elements. What is the expected value of the Jaccard simila

Write difference between logical and physical modeling

What is the difference between logical and physical modeling? Give three reasons why logical models are superior for structuring business requirements.

Include a description of the media used for storage

imagine one real life example of each: a multi-file volume and a multi-volume file. include a description of the media used for storage and a general description of the data

Reviews

Write a Review

 
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