Earn while u Learn

Tips tweaks hacks on computer with C C++ VB tutorials and ways to earn money online

ad

division of two numbers in C

This program is for dividing two numbers inputted be the user.

CODE:
__________________________________________________________

#include(stdio.h)
#include(conio.h)

main()
{
int x,y,div=0;
printf("Enter two number");
scanf("%d%d",&x,&y);
div=x-y;
printf("substraction = %d ",div);
getch();
}

0 comments:

Sign in / Join

Labels