Write a program to print the sum of two integers.

/*This program is to get the sum of two integers*/

#include <stdio.h>

#include <conio.h>


int main()

{

int num1, num2;


printf("Enter two integers\n");

scanf("%d %d", &num1, &num2);

printf("Sum of %d and %d is %d", num1, num2, num1+num2);


getch();

return 0;

 

https://drive.google.com/file/d/1AmJ4jPXRcq_9Ifwsndq6iZjB-dE244IH/view?usp=sharing

Comments