google.com, pub-8786015629279405, DIRECT, f08c47fec0942fa0 Write a Program to Add/Sum Two Numbers in C

Write a Program to Add/Sum Two Numbers in C

0





//Write a Program to add/sum two Numbers in C


#include <stdio.h>
#include <conio.h>

void main()
{
 int num1,num2,sum;
clrscr();
printf("Enter the value of First Number ");
scanf("%d",&num1);
printf("Enter the value of Second Number ");
scanf("%d",&num2);
sum=num1+num2;
printf("The Sum of Two Number is = %d",sum);
getch();
}

 


Output


Enter the value of First Number 23

Enter the value of Second Number 89

The Sum of Two Number is =112

 


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Thank you for your interest 😊

We will back shortly after reviewing...

Thank you for your interest 😊

We will back shortly after reviewing...

Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !
To Top