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

  How many strings will be read

You should read a list of strings from a data file (using scanf), and find the minimum and maxium values of the string data. The input file format will start with a single integer that indicates how many strings will be read, and then lists those ..

  How do you create a 4d array of doubles in c++

How do you create a 4D array of doubles in C++

  Find the total power

Decompose s(t) into a linear combination of sinusoidal functions and find the amplitude, frequency, and phase of each component.

  Design a database design a database using the following info

Design a Database Design a database using the following information. Using Microsoft Visio 2013, create a complete E-R Diagram in Crow's Foot notation (including entity names, attributes, primary keys and foreign keys) that can be implemented, and th..

  Attempt to change ibm culture

1- Who is Grstner and what role did he play in IBM's transformation? 2- How did he attempt to change IBM's culture? 3- What role did institutional values have

  What features might be used by smtp and/or a mail daemon

What features might be used by (or added to) SMTP and/or a mail daemon such as sendmail to provide some resistance to email forgeries as in the previous exercise?

  Identify the strengths and weaknesses of the process

Identify the strengths and weaknesses of the process. Discuss which types of projects are most suitable for this process

  How do you write a program that compares your checking

How do you write a program named Balance.java that compares your checking account balance with your savings account balance (two doubles)

  Subsets of cardinality

Prove by induction that for every n >= 3, any set of cardinality n has exactly n(n-1)(n-2)/6 subsets of cardinality

  Viewing system information

Viewing system information (Screenshot and written response required)View the system information (i.e., operating system, processor, memory) of the computer. (Help: From the Control Panel, select System and Security, and then select System; This navi..

  Is anyone familiar with oracle

Is anyone familiar with Oracle 11g, 2E, Joan "Casteel Chapter5 Procedures

  Compare computerized process to manual process

ompare a computerized process to manual process. Write differences and the advantages and disadvantages of the computerized systems.

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