Purchase Solution

C Program to Execute Problem

Not what you're looking for?

Ask Custom Question

Please use C only and be clear about the steps.

// use user-defined functions
// (calculates different sales tax based on an item price)

1. Ask the user to enter the price of an item.

2. Get the item price from the user.

3. Calculate the sales tax of the item:
- 6.5% if the item costs less than $100.
- 5% if the item costs $100 or more.

4. Display the original item price and sales tax amount onto the screen.

5. Calculate new cost of the item with the sales tax.

6. Display the total price of the item onto the screen.

Purchase this Solution

Solution Summary

This posting contains the solution to the given problem.

Purchase this Solution

Free BrainMass Quizzes
C++ Operators

This quiz tests a student's knowledge about C++ operators.

Javscript Basics

Quiz on basics of javascript programming language.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.