program to find difference of two numbers using input function scan if right in C language pls help me.....
Answers
Answered by
2
Answer:
#include<stdio.h>
int difference()
{
int a;
int b;
printf("Enter the 2 numbers");
scanf("%d",&a);
scanf("%d",&b);
return(a+b);
}
void main()
{
printf("The difference between the two entered numbers are: ");
printf("%d",difference());
}
Explanation:
The C programming language is a structure-oriented programming language, developed at bell laboratories in 1972 by Dennis Ritchie.
C programming language features were derived from an earlier language called BPCL.
Similar questions