• Home

Free all codes

About Me

Parag Pal
View my complete profile

Blog Archive

  • ▼  2016 (27)
    • ▼  August (27)
      • Simple interest
      • Area of Circle
      • Area of Rectangle
      • Area of Square
      • Volume of Cube
      • Volume of Cylinder
      • Volume of Sphere
      • Leap year
      • HCF and LCM
      • Reverse number
      • Prime numbers
      • Perfect Number
      • Calculate the gross salary
      • Temperature conversion
      • Print integer
      • Area of triangle
      • Odd or Even
      • Add subtract multiply divide
      • Add n numbers
      • Greatest of 3 numbers
      • Swapping two numbers
      • Nested If Else
      • Calculate percentage
      • Addition of two no
      • Hello World
      • Add digits
      • Add 'n' Number
Powered by Blogger.
Thursday, 18 August 2016

Calculate the gross salary

04:34 | Posted by Parag Pal | | Edit Post

#include < stdio.h >

void main()
{
int gross_salary, basic, da, ta;

printf("Enter basic salary : ");
scanf("%d", &basic);

da = (10 * basic)/100;
ta = (12 * basic)/100;

gross_salary = basic + da + ta;
printf("\nGross salary : %d",gross_salary);
}

Email This BlogThis! Share to X Share to Facebook

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

INFO


  • Welcome
  • People
  • Management

LOCATION


  • Map
  • Address
  • Contact Us

ABOUT


  • Company
  • Terms




Copyright © 2011-2012. All Rights Reserved.
Icons by Artdesigner.lv



Blogger Template created with Artisteer by PARAG PAL.