Character using the cin object

Assignment Help Basic Computer Science
Reference no: EM131098599

1. Write a C++ program to compute and display a person's weekly salary as determined by the following expressions:

If the number of hours worked is less than or equal to 40, the person receives $8.00 per hour; otherwise, the person receives$320.00, plus $12.00 for each hour worked over 40 hours.

The program should request the hours worked as input and should display the salary as output.

2. Write a C++ program that accepts a character using the cin object and determines whether the character is a lowercase letter. Alowercase letter is any character that is greater than or equal to'a' and less than or equal to 'z'. If the entered character is a lowercase letter, display the mssage The character just entered is a lowercase letter. If the entered letter is not lower case, display the message The character just entered is not a lowercase letter.

Reference no: EM131098599

Questions Cloud

Limitations of digital subscriber line : Part 1: What are some limitations of Digital subscriber line (DSL) technology? Part 2: What are some examples of improvements of asymmetric digital subscriber line 2 (ADSL2) beyond regular DSL?
What mistakes did hudson make : If you were Hudson, how would you respond to the director - what mistakes did Hudson make and what are the lessons to be learned from this case?
About the economic expansions : Economic expansions in Europe and China would cause
Pole-zero placement method : Design a second-order digital highpass Chebyshev filter (.5-dB ripple) with a cutoff frequency of 850 Hz and a sampling frequency of 10 kHz.
Character using the cin object : Write a C++ program that accepts a character using the cin object and determines whether the character is a lowercase letter. Alowercase letter is any character that is greater than or equal to'a' and less than or equal to 'z'. If the entered char..
What is involved in the evaluation process : What is the objective of this evaluation? What is involved in the evaluation process? Do you think this evaluation is an effective method to assess clients? Why or why not? What is the focus of the assessment?
Understand how taxes affect economic well-being : To fully understand how taxes affect economic well-being, we must compare the
Free products to attract more sales or more demand : If the company hires an incompetent president to run the company. He has the opportunity to introduce his idea for kids toys but his idea failed. He keep reducing the price of the products and eventually give out free products. Is it a good idea to g..
Initialize the two dimensional array : Write a C++ program to select the values in a four by fivearray of positive integers in increasing order and store theselected values in the single- dimensional array named sort. Usethe data statement given in exercise 1 (a) to initialize the two ..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  My systems and analysis and design class

Need help with another project from my systems and analysis and design class (tenth edition book)here is the project

  Identify organizations that may be susceptible

Acts considered cyberterrorism and / or information warfare can be divided into four separate categories; infrastructure attacks, information attacks, technological facilitation, and promotion.

  Create a class called uabiginteger

Create a class called UABigInteger. As the name implies, we want to create a class that will allow usto store an integer larger than a typical one (a value less than 2,147,483,647). This will be supportedby declaring an array of integers that will be..

  Describe difference between a danger sign and a caution sign

Design a danger sign and a caution sign for a power press. For specifications search online at http://www.osha.gov for 29 CFR 1910.145 entitled Specifications for accident prevention signs and tags. Describe the difference between a danger sign a..

  Create sheet sales and put reasonable numbers

Create a file: Pizza_by_First_Last.xlsm . Create sheet Sales and put reasonable numbers for prices (your choice), add create formulas. Put the % for sales tax in H1 (it is 8% in NY).  After that, you need to put formulas in place, add a row for total..

  Use the binomial theorem to give the expansion

Use the Binomial Theorem to give the expansion of: (p+q)3

  A local department store hires you to write

A local department store hires you to write an automated checkout program to expedite customers in a hurry. The checkout line can only accept five items for any one purchase. Design a program that asks for the price of each item, and then displays..

  How to create system restorepoint in task scheduling

how to create a system restorepoint in task scheduling using the GUI in Windows 7 and task scheduling using the AT command in Windows 7.

  Write a c++ definition for such a method for the class link

Write a C++ defi nition for such a method for the class Linked Bag.

  What is disruptive social change in economics

What is disruptive social change in economics and how does that affect society?

  How to choose optimal location of pipeline for oil field

A Consultant is to lay oil pipeline running east to west through the oil field of n wells. From each well spur pipeline is to be connected directly to main pipeline along shortest path.

  Write a program that creates two vectors from x-one

write a program that creates two vectors from x-one (call it P) that contains the positive elements of x, and a second (call it N) that contains the negative elements of x. In both P and N, the elements are in the same order as in x.

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