[ create a new paste ] login | about

Link: http://codepad.org/GUgIJPtn    [ raw code | output | fork ]

C++, pasted on Sep 11:
int main() 

{ 

cout<<fixed<< setprecision(2); 

cout<< what is your yearly salary? endl; 

Cin>>yearly_salary 

Monthly_salary=Yearly_salary/12; 

Biweekly_salary=Yearly_salary/26 

Cout<<Your yearly salary is $”<<yearly_salary<<endl; 

Cout<<Your monthly salary is $”<<monthly_salary<<endl; 

Cout<<Your biweekly salary is $”<<Biweekly_salary<<endl; 

Return0; 

} 


Output:
1
2
Line 7: error: stray '\342' in program
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: