Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Program Language Program One: 1. Write a program to receive two number from use via keyboard and calculate the addition and subtraction and print

C++ Program Language image text in transcribed
Program One: 1. Write a program to receive two number from use via keyboard and calculate the addition and subtraction and print the numbers and results on separate line. (for example: if user input number1 as 5 and number2 as 7 then the output shall be similar to the following): The Numbers given are : 5 and 7 The addition is : 12 The difference is -2 2. Program Two: Using if statements Receive the number of hours worked per week and base salary of an employee to calculate the Gross Pay. Check to see if the number of hours worked is less or larger than 40 hours per week. If employee worked more than 40 hours he/she could receive 50% extra on the hours worked above 40 hours per week. Gross Pay = hours worked multiplied by Hourly salary. Any hours above 40 per week Salary = Hours above 40 Multiplied by 1.5 times base salary

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Structure Of The Relational Database Model

Authors: Jan Paredaens ,Paul De Bra ,Marc Gyssens ,Dirk Van Gucht

1st Edition

3642699588, 978-3642699580

Students also viewed these Databases questions

Question

What are the stages of project management? Write it in items.

Answered: 1 week ago

Question

why do consumers often fail to seek out higher yields on deposits ?

Answered: 1 week ago