Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » BeginnersRSS Feeds

PROGRAM TO CALCULATE 10% BONUS OF SALARY

Posted By: Aloisa Miller     Category: C Programming     Views: 6728

WRITE A PROGRAM TO CALCULATE 10% BONUS OF SALARY.

Code for PROGRAM TO CALCULATE 10% BONUS OF SALARY in C Programming

#include<stdio.h>
#include<conio.h>

void main()
{
    int sal,bonus;
    clrscr();
    printf("\nENTER THE YOUR SALARY :- ");
    scanf("%d",&sal);
    bonus = sal * 0.1;
    printf("\nYOUR BONUS IS :- %d",bonus);
    getch();

}
  
Share: 


Didn't find what you were looking for? Find more on PROGRAM TO CALCULATE 10% BONUS OF SALARY Or get search suggestion and latest updates.

Aloisa Miller
Aloisa Miller author of PROGRAM TO CALCULATE 10% BONUS OF SALARY is from Frankfurt, Germany.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!