Saved Papers

Save papers so you can find them more easily!

Join Now

Get instant access to over 100,000 papers.

Join Now!

C++

#include
#include
using namespace std;

int main()
{
float amt = 1, tax, total = 0, paid, change;
const float VAT = 0.14;
const string storedPassword = "cleveland";
string password;

cout < cout << "(Press the return key after each item, and 0.00 to EXIT!)"< //amt = 0;
cout<
cout << "Please enter your password: ";
cin >> password;

if(password == storedPassword)
{
while (amt != 0.00)
{

cout << "Amount: R";
cin >> amt;
total += amt;
}
cout << endl;

tax = total * VAT;
total = total + tax;

cin.get();
cout.setf(ios::fixed);
cout.precision(2);......


View the rest of this paper...

Approximate Word Count: 126
Approximate Pages: 1 (250 words per double-spaced page)

Why should you join Frat Files?

  • - It's safe, secure, and private.
  • - Instant access to over 100,000 papers. New papers are added hourly.
  • - Fast and reliable customer support.

Credit Card

PayPal

Bank Account

Similar Essays