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

Questions Cloud

Linear correlation coefficient to the scatter diagram : Match the linear correlation coefficient to the scatter diagram. The scales on the x- and y- axes are the same for each scatter diagram.
Positive and negative effects that peace and war : Assess the positive and negative effects that peace and war, respectively, have on the distribution of foreign aid in the developing country that you have selected. Support your response with concrete examples of each of the results that you have ..
Globalization and competition strategy : There are many aspects to Supply Chain Management. There is more than just the product conception, procurement of material, production, manufacturing, and transportation. There are concepts, approaches, and outside factors that have a great impac..
Code of ethics, professional ethics : Although though some people do not follow a code of ethics, professional ethics is very important to the success of a business. It is important for all managers to conduct business, internally and externally, ethically and with the utmost integri..
Calculate the number of letters : 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 fol..
Calculate mcphersons earnings per share : Calculate McPherson's earnings per share if the McAlester stockholders accept one $6 convertible preferred share (stated value, $100) for each 5 shares of McAlester stock held.
Reasonable interpretation of the survey results : Which of the following represents a reasonable interpretation of the survey results? For those not reasonable, explain the ?aw.
Calculate the record size r in bytes : a. Calculate the record size R in bytes. b. Calculate the blocking factor bfr and the number of file blocks b assuming an unspanned organization.
What are the disadvantages to moving to a hris : Using the Internet, describe at least five ways IT has helped change HR. What are the disadvantages to moving to a HRIS

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Develop a first-cut sequence diagram

Develop a first-cut sequence diagram, which only includes the actor and problem domain classes. Add the view layer classes and the data access classes to your diagram from part a. Develop a design class diagram based on the domain class diagram and..

  Explain specific challenges facing the designer

Discuss the specific challenges of facing the designer, specifically with regard to the limitations of hardware, software and interface design two paragraph each.

  Evaluation at astro bank and the balanced scorecard

IS/IT project managers use evaluation processes to determine the success of a project. This kind of evaluation is not always a straightforward task. In this Discussion, you will determine evaluation criteria in an example project from a case study..

  An organization can use a management system

Write a 750 -ways in which an organization can use a management system to manage file and print resources for a group of Windows Servers®.

  In 1966 the supreme court ruled in its miranda v arizona

in 1966 the supreme court ruled in its miranda v. arizona decision that law enforcement has an obligation to advise a

  Process centered organization differ from task-centered one

According to Hammer, how does a process centered organization differ from a task-centered one? What are the pros and cons of either approach?

  Optimization for transactional processing

There are times when a database is accessed by many users across the enterprise. Transaction logs can help maintain concurrency in a multiuser platform

  Integration layers

Integration layers

  Analytics-management science or model challenge in the real

The last section of the report should discuss the future opportunities and challenges of solving the problem. What will help solutions improve? What limitations remain?

  Network consultation for designit

Network Consultation for DesignIT

  Write a commented c++ program to re-format dates

Write a commented C++ program to re-format dates. Prompt the user to input a date in the form: Sunday, January 2, 2010. Display the date in each of the following formats: January 2 was a Sunday in 2010 Sun, Jan 2 '10 2010-01-02

  State whether each reference is hit or a miss

Assume a cache has 16 1-word blocks and is initially empty. Placement is by direct mapping. Also, state whether each reference is a hit or a miss.

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