Program in C to add 2 numbers (DEV C++)
#include<stdio.h>
#include<conio.h>
int main()
{
int a,b,c;
printf("Enter a number = ");
scanf("%d",&a);
printf("Enter another Number = ");
scanf("%d",&b);
c=a+b;
printf("Sum = %d",c);
return 0;
}
Output:-
Watch the video to make it more clear👇👇
0 Comments