#include<stdio.h>
#include<conio.h>
void sum(); // Function Decalaration
main()
{
{
clrscr();
sum(); // Function Calling
getch();
}
void sum() // Function Define
{
int a,b,c;
printf("Enter First NUmber=");
scanf("%d",&a);
printf("Enter Second NUmber=");
scanf("%d",&b);
c=a+b;
printf("\n Answer=%d",c);
}
No comments:
Post a Comment