Business

Gross Salery Program Code For C Programing

Here is the code of c program , to make a program to calculate gross salery

#include<stdio.h>
#include<conio.h>
int main()
{
    int bs;
    float da,hra,gs;
    printf("Enter Basic Salery : ");
    scanf("%d",&bs);
    da=(20*bs)/100;
    hra=(40*bs)/100;
    gs=bs+da+hra;
    printf("Gross Salery : %f",gs);
    getch();
}

Hey there, I'm Najam!

Share This Post

Comments

    Blogger Comment

0 comments:

Post a Comment