Question: 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
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
Get step-by-step solutions from verified subject matter experts
