===========================================================================
CODING
#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
clrscr();
float x,d,r,g;
cout<<"Enter your basic salary:- ";
cin>>x;
d=(0.4)*x;
r=(0.2)*x;
g=(x+d+r);
cout<<"\n Your Gross salary isÆ "<<g;
getch();
}
CODING
#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
clrscr();
float x,d,r,g;
cout<<"Enter your basic salary:- ";
cin>>x;
d=(0.4)*x;
r=(0.2)*x;
g=(x+d+r);
cout<<"\n Your Gross salary isÆ "<<g;
getch();
}
===========================================================================
No comments:
Post a Comment