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
Program to find perimeter and area of a rectangle
May 22, 2021
Flowchart to check time
May 07, 2021
0 Comments