Saturday, October 24, 2020

If the work experience is more than 5 years then the bonus is 50%

 #include <stdio.h>

int main() {

    float we,s;

    printf("Enter Work Experience & Salary:");

    scanf("%f%f",&we,&s);

    if(we>=5)

    {

        s=s*1.5;

    }

    printf("Salary=%.2f",s);

}

No comments:

Post a Comment

POV: I finally understood why every elder brother is a hero ❤️

YouTube Video  Hi. So, uh very happy brother's day to all the lovely brothers out there who has been endlessly working on and uh taking ...