#include<stdio.h>
#include<conio.h>
int Sum(int a, int b)
int Sum(int a, int b)
{
return a+b;
return a+b;
}
void main()
void main()
{
int x, y;
clrscr ();
printf ("Enter first number: ");
scanf("%d",&x):
printf ("Enter second number: ");
scanf ("&d", &y):
printf ("Sum of %d and and is %d" is, Sum(x,y));
int x, y;
clrscr ();
printf ("Enter first number: ");
scanf("%d",&x):
printf ("Enter second number: ");
scanf ("&d", &y):
printf ("Sum of %d and and is %d" is, Sum(x,y));
getch ();
}
}
No comments:
Post a Comment