#include<iostream> using namespace std; const double TAXRATE=0.14; int main() {
ID: 3613600 • Letter: #
Question
#include<iostream>
using namespace std;
const double TAXRATE=0.14;
int main()
{
//declaration section
double payrate,hoursworked,taxAmount;
//input section
cout<<"What is the pay rate for an hour& number of hours worked per week?"<<endl;
cin>>payrate;hoursworked;
//computation section
double incomeaftertax = incomeaftertax *1-0.14;
double clothes = incomeaftertax * 0.10;
double supplies=incomeaftertax-clothes-supplies;
double savingsbonds=incomeaftertax-clothes-supplies * 0.25;
double parents = savingsbonds * 0.50;
//output section
cout<<"Income aftertax"<<incomeaftertax<<endl;
cout<<"Money spent onclothes"<<clothes<<endl;
cout<<"Money spent onsupplies"<<supplies<<endl;
cout<<"Money spent on savingsbonds"<<savingsbonds<<endl;
cout<<"Money parents spent on savingsbonds"<<parents<<endl;
system("PAUSE");
return 0;
}