URI 1009 Salary with Bonus Solution in C++
URI Online Judge Solution 1009 👀 Salary with Bonus 👀
URI Online Judge Solution 1009 Salary with Bonus in C++
Before seeing the solution make sure that you tried enough. Don’t paste the whole code, just find out the logic. If you stuck in trouble, just inform me on comment.
Before seeing the solution make sure that you tried enough. Don’t paste the whole code, just find out the logic. If you stuck in trouble, just inform me on comment.
URI Online Judge Solution 1009 ☺Salary with Bonus☺ in C++
#include<bits/stdc++.h>
using namespace std;
int main()
{
char M[100];
cin>>M;
double a,b,c;
cin>>a>>b;
c=a+(b*15)/100;
cout<<fixed;
cout<<setprecision(2)<<"TOTAL = R$ "<<c<<endl;
return 0;
}
No comments