famouscoder
Wednesday, May 6, 2020
URI 1008 - Salary
#include<stdio.h>
int main()
{
int n,h;
float p;
double ts;
scanf("%d%d%f",&n,&h,&p);
ts = h*p;
printf("NUMBER = %d\n",n);
printf("SALARY = U$% .2lf\n",ts);
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment