Programming languages
Home
Program to find difference of 2 numbers.
Program to find difference of 2 numbers.
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sub;
clrscr();
printf("Enter two numbers:");
scanf("%d %d", &a, &b);
sub=a-b;
printf("\nDifference= %d", sub);
getch();
}
Post a Comment
0 Comments
Search This Blog
Ad Code
Responsive Advertisement
Report Abuse
Ad Space
Responsive Advertisement
Social Plugin
Recent Post
2/recent/post-list
Popular Posts
Flowchart to find largest from three numbers
April 23, 2021
Flowchart to find area of a circle
May 05, 2021
0 Comments