Answer to Question #194418 in Algorithms for daljeet kaur

Question #194418

Bob employs a painting company that wants to use your services to help create an invoice generating system. The painters submit an invoice weekly. They charge $30 per hour worked. They also charge tax – 15%. Bob likes to see an invoice that displays all the information – number of hours, the charge per hour, the total BEFORE tax and the total AFTER tax. Since this is an invoice, we also need to display the name of the company (Painting Xperts) at the top of the invoice. Display all of the information on the screen. 


1
Expert's answer
2021-05-17T19:23:30-0400
#include <iostream>
using namespace std;
int main()
{
    double H;
    cin>>H;
    cout<<"Painting Xperts\n";
    cout<<"Hours:"<<H<<'\n';
    cout<<"Charge per hour:30$\n";
    cout<<"Before tax:"<<H*30<<"$\n";
    cout<<"After tax:"<<H*30*1.15<<"$\n";


    return 0;
}




Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS