program:
C program to subtract two numbers
#include<stdio.h>
int main()
{
float a,b,c;
printf("Enter first number:\n");
scanf("%f",&a);
printf("Enter second number:\n");
scanf("%f",&b);
c=a/b;
printf("Division of two number:%f",c);
return 0;
}
output:Related Links:
C program to add two numbersC program to subtract two numbers