Created
August 1, 2019 15:17
-
-
Save sachinsaxena25/5b2be3f6dbcd694cc7abb296f79396fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(void){ | |
float a = 0.0f; | |
float b = 0.0f; | |
float c = 0.0f; | |
printf("please enter the first number:\n"); | |
scanf("%f", &a); | |
printf("please enter the second number:\n"); | |
scanf("%f", &b); | |
c = a - b; | |
printf("substract of numbers:%.2f", c); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment