Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
PayTax
//g++ 7.4.0 //tax calculation //created by Rezaul Hoque on December 12,2020 //contact at jewelmrh@yahoo.com #include <iostream> using namespace std; int main () { float x, paytax; cout <<"Enter annual income:\n"; cin>>x; if(x>250000) paytax= 79772.00+0.396*x; else if (x>=115000) paytax=31172.00+0.36*x; else if(x>=53500) paytax=12107.00+0.31*x; else if (x>=22100) paytax=3315+0.28*x; else if (x>=0) paytax= 0.15*x; else cout<<"Enter a valid amount!"; cout<<"Your payable tax is $:\n"; cout<<paytax; return 0; }
run
|
edit
|
history
|
help
0
Patara asoebi
Replace substring poor
exception
obracanie tablicy
Memory_test
773. Sliding Puzzle
2021(M2)Simulare:S3:1
Minimum Vertices to Traverse Directed Graph
mergesort tree
Queue with Limited Size of Arrays