Waived!

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

(1 patron review)

$10.00

View Details
Solved By Verified
Study Co-Pilot All Study Co-Pilots are evaluated by Gotit Pro as an expert in their subject area.
Instant
Download

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


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

  1. Madison Hayes

    100% perfect code. This website is cool. THANKS

Only logged in customers who have purchased this product may leave a review.


You may also like…

Patron Details

Additional information

Your Solution

Product
Quantity
Total
Cart Subtotal $0.00
Order Total $0.00

  • Pay with your credit card.