Page

Sunday, 17 June 2018

program for divide in c

#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
int a, b , divide;
printf("enter the value a:");
scanf("%d",&a);
printf("enter the value b:");
scanf("%d",&b);
(divide=a/b);
printf("the divide of given number is:");
printf("%d",divide);
getch();
return(0);
}


No comments:

Post a Comment