write a program to divide two numbers in C language - World Of Programs

World Of Programs

Let's Be The Coder

Recent Tube

Post Top Ad

write a program to divide two numbers in C language

write a program to divide two numbers in C language

Share This
How to write a program to divide two numbers in C language

#include <stdio.h>
#include <conio.h>
int main()
{
int a,b,c;

printf("Enter two numbers to divide\n");
scanf("%d%d",&a,&b);

division=a/b;
printf("division of the entered numbers=%d\n",sum);

return 0;
}

OUTPUT: -

Enter two numbers to add
9
3
Division of the entered numbers= 3

No comments:

Post a Comment

Post Bottom Ad

Responsive Ads Here

Pages