#include
#include
void main()
{
int s,a,b,c;
clrscr();
printf("s=((4*a+c)-2*a*b)/100");
printf("\nenter value of a:");
scanf("%d",&a);
printf("enter value of b:");
scanf("%d",&b);
printf("enter value of c:");
scanf("%d",&c);
s=(((4*a+c)-2*a*b)/100);
printf("ans:%d",s);
getch();
}
0 comments:
Post a Comment