Click here to Upload your own logic for this program.

Divide the two numbers


#include<stdio.h> main() { int x,y,z; printf("Enter the first number: "); scanf("%d",&x); printf("Enter the second number: "); scanf("%d", &y); z=x/y; printf("Division of the two numbers is: %d", z); }

Enter the first number: 10 Enter the second number: 5 Division of the two numbers is: 2