Advertisement

WRITE A PROGRAME IN C TO ADD TWO INTEGERS


 ADD TWO INTEGERS 

CODE BELOW :

#include <stdio.h>

#include <conio.h>

void main()

{

int a,b,c;

clrscr();

printf("enter the integer value\n");

scanf("%d%d",&a,&b);

c=a+b;

printf("sum=%d",c);

getch();

}




Post a Comment

0 Comments