//Zipoids is a level of currency used by obscure gamers. These gamers must pay tax in the following manner 1. 0 - 5,000 zipoids – 0% tax 2. 5001 - 10,000 zipoids – 10% tax 3. 10,001 – 20,000 zipoid – 15% tax 4. Above 20,000 zipoids 20% tax. Write a program that will get the amount of Zipoids earned and will compute the tax. Your program should output the tax and the adjusted pay after the tax. You should use a ladder style if /else to compute this. Do not put cin or cout inside the if logic. Only compute the tax.//
#include <iostream>
#include <iomanip>
using namespace std;
int main ()
{
double ziploids;
int tax;
cout << " Enter amount of Ziploids earned" << endl;
cin >> ziploids;
"it" fails. What is the "it" and how does it fail?
If compiler finds a problem, then the compiler shows an error message that explains what the compiler sees as a problem. That is vital information.
What you are doing wrong?
It looks like you don't pay enough attention to the details.
Thanks a bunch to those who helped and to those with rude snarky remarks... this is supposed to be a community to learn from not get put down for mistakes, OBVIOUSLY everyone start from somewhere.