Uri solution 1009 Salary with Bonus

#include<stdio.h>
int main()
{
    char ch;
    float a,b,c,d;
    scanf("%s %f %f",&ch,&a,&b);
    c=(b*15)/100;
    d=a+c;
    printf("TOTAL = R$ %.2f\n",d);
    return 0;
}

Comments

Popular posts from this blog

Uri Solution 2747 Output 1

Codeforces Solution 230B T-primes