How to write a program to subtraction of two numbers in C language - World Of Programs

World Of Programs

Let's Be The Coder

Recent Tube

Post Top Ad

How to write a program to subtraction of two numbers in C language

How to write a program to subtraction of two numbers in C language

Share This
write a program to subtract two numbers in C language

#include <stdio.h>
#include <conio.h>
int main()
{
int a,b,c;

printf("Enter two numbers to subtract\n");
scanf("%d%d",&a,&b);

Subtraction=a-b;
printf("Subtraction of the entered numbers=%d\n",c);

return 0;
}

OUTPUT: -

Enter two numbers to subtract
7
3
Subtraction of the entered numbers= 4

No comments:

Post a Comment

Post Bottom Ad

Responsive Ads Here

Pages