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
so
map::swap()_30-Seconds-of-C++
2021(M2)Simulare:S3:1
Laborator 2 SD
https://rextester.com/TXKE53925
articulation points and bridges
LALALALALALLLLAAA
append
ThreadPool
boost::shared_ptr<base>& arg