Write a program divide two number
//Write a program division two number.
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,div;
printf("\n Enter a number=");
scanf("%d",&a);
printf("\n Enter a number=");
scanf("%d",&b);
div=a/b;
printf("\n Division=%d",div);
//second method
printf("\n Second method Division=%d",a/b);
getch();
}
0 Comments