Sale!

COSC 1336 Project 2 – Expressions and Formatted Output | Write a program that will display the total sales after a sales transaction is completed.

(1 customer review)

Original price was: $15.00.Current price is: $10.00.

Description

Project 2 – Expressions and Formatted Output

Write a program that will display the total sales after a sales transaction is completed.

 

Deliverables

  • The user enters the sales amount.
  • The user enters the sales tax rate (use decimals)
  • The program finds the tax amount and the total amount with the sales tax amount.
  • The program displays the sales amount, the tax amount and total amount with appropriate labels and formatted 2 decimal places.
  • Make sure to use main(), and few more functions

 

SAMPLE RUN (User entry is in RED)

Enter the sales amount 100

Enter the sales tax rate .0825

 

Results

The sales amount $100

The tax amount $8.25

Total amount $108.25

You may also like…

Billing details

Additional information

Your order

Product
Quantity
Total
Cart Subtotal $0.00
Order Total $0.00