C Program to calculate subtraction of two numbers. / C दो संख्याओं के घटाव की गणना करने का कार्यक्रम।












C Program to calculate subtraction of two numbers




C Program to calculate subtraction of two numbers



#include <stdio.h> int main() { int x,y,z; printf("Enter x value:"); scanf("%d",&x); printf("Enter y value:"); scanf("%d",&y); z=x-y; printf("\n Subtraction of two numbers: %d",z); return 0; }


Output:
Enter x value:20 Enter y value:10 Subtraction of two numbers: 10