URI 1008 Salary Solution in C++
URI Online Judge Solution 1008 👀 Salary 👀
URI Online Judge Solution 1008☺Salary☺ 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 1008☺Salary☺ in C++
#include<bits/stdc++.h>
using namespace std;
int main(){
int A,NUMBER;
double B,SALARY=0;
cin>>NUMBER>>A>>B;
SALARY = A*B;
cout<<"NUMBER = "<<NUMBER<<endl;
cout<<fixed;
cout<<setprecision(2)<<"SALARY = U$ "<<SALARY<<endl;
return 0;}
No comments