create an algorithm for substract two numbers
Answers
Answered by
2
Answer:
Program to subtract two numbers in C:
h> #include<conio. h> void main(){ int one, two, sub; printf("Enter first number - "); scanf("%d",&one); printf("Enter second number - "); scanf("%d",&two); sub = one - two; printf("The subtraction of numbers %d and %d is %d",one,two,sub); getch(); } //End of the program
Similar questions