/*Before seeing the code solution make sure that you have tried enough. Don’t copy- paste the whole code. Find out the logic. If you face any trouble, just inform me in comment.*/
#include<stdio.h>
main()
{
int n,wh;
float s,t;
scanf("%d%d%f",&n,&wh,&s);
t=wh*s;
printf("NUMBER = %d\nSALARY = U$ %.2f\n",n,t);
return 0;
}
//Happy_coding
#include<stdio.h>
main()
{
int n,wh;
float s,t;
scanf("%d%d%f",&n,&wh,&s);
t=wh*s;
printf("NUMBER = %d\nSALARY = U$ %.2f\n",n,t);
return 0;
}
//Happy_coding
No comments:
Post a Comment