// salestax.cpp
#include
int main()
{
double cost, tax_rate, tax_due;
// Get input from user
cout << "Enter the cost of the item: ";
cin >> cost;
cout << "Enter the tax rate (For Example, enter 8 for 8%): ";
cin >> tax_rate;
// Calculate sales tax due
// Output the amount of tax due
cout << "Tax due = " << tax_due << '\n
(
Read more... )