Answers

Question and Answer:

  Home  Standard Template Library (STL)

⟩ How to get the sum of two integers?

#include<stdio.h>

#include<conio.h>

void main()

{

clrscr();

int i,j,sum;

printf("enter two numbers");

scanf("%d%d",&i,&j);

sum=i+j;

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

}

 232 views

More Questions for you: