Click here to Upload your own logic for this program.

Divide the two numbers


Program:


#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); }
Output:
		

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