Computer Science, asked by s15587amahenoor18512, 1 month ago

create an algorithm for substract two numbers​

Answers

Answered by angelfernandes221120
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