Programming Projects 2.4 Project 2.4.1. Write a C++ program to compute the weekly wage for an employee of a company. Conform your program to the following guidelines: (1) Your program should request and obtain from the user the first name initial and last name initial of an employee and the number (integer) of hours and minutes (separately) the employee worked that week in an interactive way. The minutes will have to be converted to hours before computing the wage. (2) Compute the wages for the employee using the pay rate of $13.55 per hour. Compute income tax at the rate of 15%, and take the taxes off of the wages to find the net pay. (3) The wage must be presented in terms of integer dollars and integer cent example: wage= 194 dollars and 85 cents), not in terms of decimal dollars as $194.85 For this, you need to use the integer-real conversion features of the language. (4) The output must consist of the initials of the employee and his/her wages, ta and the net pay for the week.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Can someone explain this to me in c++ ( be very descriptive as possible)

Programming Projects 2.4
Project 2.4.1. Write a C++ program to compute the weekly wage for an employee oI
a company. Conform your program to the following guidelines:
(1) Your program should request and obtain from the user the first name initial and
last name initial of an employee and the number (integer) of hours and minutes
(separately) the employee worked that week in an interactive way. The minutes will have
to be converted to hours before computing the wage.
(2) Compute the wages for the employee using the pay rate of $13.55 per hour.
Compute income tax at the rate of 15%, and take the taxes off of the wages to find the net
pay.
(3) The wage must be presented in terms of integer dollars and integer cents
(example: wage= 194 dollars and 85 cents), not in terms of decimal dollars as $194.85.
For this, you need to use the integer-real conversion features of the language.
(4) The output must consist of the initials of the employee and his/her wages, tax,
and the net pay for the week.
Transcribed Image Text:Programming Projects 2.4 Project 2.4.1. Write a C++ program to compute the weekly wage for an employee oI a company. Conform your program to the following guidelines: (1) Your program should request and obtain from the user the first name initial and last name initial of an employee and the number (integer) of hours and minutes (separately) the employee worked that week in an interactive way. The minutes will have to be converted to hours before computing the wage. (2) Compute the wages for the employee using the pay rate of $13.55 per hour. Compute income tax at the rate of 15%, and take the taxes off of the wages to find the net pay. (3) The wage must be presented in terms of integer dollars and integer cents (example: wage= 194 dollars and 85 cents), not in terms of decimal dollars as $194.85. For this, you need to use the integer-real conversion features of the language. (4) The output must consist of the initials of the employee and his/her wages, tax, and the net pay for the week.
Chapter 2 Basics of Computer Programming
61
(5) Your program must have a comment block that explains what it does and who
you are. Also insert comments that explain what each block of statements do.
Transcribed Image Text:Chapter 2 Basics of Computer Programming 61 (5) Your program must have a comment block that explains what it does and who you are. Also insert comments that explain what each block of statements do.
Expert Solution
Step 1

Given

The answer is given below.

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Reference Types in Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education