Question: For this lab assignment, you will be writing full programs. Here is where youre going to use an IDE of your choice (or Linux if
For this lab assignment, you will be writing full programs. Here is where youre going to use an IDE of your choice (or Linux if youd like). The naming scheme for your individual source code files should be something related to the problem number (e.g. program2.cpp or p2.cpp is okay, Source.cpp is not.) When you are finished typing out a program, you will need to test and debug it to make sure it is working. ((( C++ PROGRAMS CODING LANGUAGE)))
4. Write a program that asks the user to enter their monthly costs for each of the following housing-related expenses:
rent or mortgage payment utilities (gas/water/electricity/trash) cell phone internet/cable
The program should then display the total monthly cost of these expenses and the total annual cost of these expenses. The results should be formatted in fixed point notation with two point of precision.
Sample Run:
Monthly/Annual Overhead Calculator Please enter the dollar amount for the following bills:
Rent (or Mortgage Payment): $430.43 Utilities: $45.60 Cell Phone: $20.00 Internet/Cable: $15.00
Your monthly expenses are: $511.03 You annual expenses are: $6132.36
** For each program, use a block comment at the beginning of your source code to clarify and explain what it is that the program is about. Example to follow. Also, line comment each step, or logical grouping of steps, in a pseudocode fashion. **
Example Program 2:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
