Write a C program for Division Of Two Number with using input function
Program:-
#include <stdio.h>
#include <conio.h>
void main()
{
int a, b, c;
clrscr();
printf("Enter the value of two number");
scanf("%d%d",&a,&b);
c=a/b;
printf("%d",c);
getch();
}
Output:-
input:-
Enter the value of two Numbers
a=3
b=3
Enter the value of two Numbers
a=3
b=3
output:-
1
1
0 comments:
Post a Comment