VILL- DEBANDI, AMTA, HOWRAH PIN-711410 Phone-9836357266
45. Input a salary and increament 10% salary :—
#include<stdio.h>
int main()
{
int s,i,us;
printf("enter a salary ");
scanf("%d",&s);
i=s*10/100;
us=s+i;
printf("Updated salary=%d",us);
return 0;
}
No comments:
Post a Comment