Program of Arithmetic operator


/*Program of Arithmetic operator*/

#include<stdio.h>

void main()

{

int a,b,c,d,x,y,z;

clrscr();

x=5;

y=3;

z=x+y;

printf(“%f”,z);

a=x-y;

printf(“\n%f”,a);

b=x*y;

printf(“\n%f”,b);

c=x/y;

printf(“\n%f”,c);

getch();

}

Output:

Related Posts

Comments are closed.