Program No : 3 :

Write a program in C to Arithmatic operations of two integer numbers .Print these results in separate lines ?

  program no  : 3
 purpose : Arithmetic operations of two integer numbers 

#include <"stdio.h">

void main()

{
	int one,two;

	scanf("%d%d", &one,&two);

	printf("%d\n%d\n%d\n%d\n%d",one+two,one-two,one*two,one/two,one%two);


}  
Back