Feed Headline Animator

Get two numbers display addition, subtraction, multiplication, division of the numbers.

main( )
{
float a,b, ad,sb,mul,div;
printf(“/n enter value of a,b”);
scanf(“%f%f”,&a,&b);
ad=a+b;
sb=a-b;
mul=a*b;
div=a/b;
printf(“/n addition =%f”,ad);
printf(“/n subtraction=%f”,sb);
printf(“/n multiplication =%f”,mul);;
printf(“/n division =%f”, div);
}

posted by: Wasim Javed

No comments:

Post a Comment