Saturday, July 13, 2019

Sum Of (n) Number

Sum Of (n) Number

sum of (n) Number


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

void main()
{
int a,b,c;
clrscr();
printf("Enter The value of A");
scanf("%d",&a);
printf("Enter The value of B");
scanf("%d",&b);

c=a+b;

printf("The Sum is=>%d",c);
getch();
}

Output:



EmoticonEmoticon