Previous Post »» Hello World Program in C Language
I this article We will be dealing with the Division of 2 numbers using C Language:-Division of 2 numbers in C Language
Another Way to present above statement efficiently (For Advance Users only):-#include <stdio.h>
#include <conio.h>
void main()
{
clrscr();
int=a,b,c;
printf("Enter the Dividend and Divisor: ");
scanf("%d %d",&a,&b);
c=a/b;
printf("Division of %d and %d is = %d"a,b,c);
getch();
}
#include <stdio.h>
#include <conio.h>
void main()
{
clrscr();
int=a,b,c;
printf("Enter the Dividend: ");
scanf("%d",&a);
printf("Enter the Divisor: ");
scanf("%d",&b);
c=a/b;
printf("Division of %d and %d is = %d"a,b,c);
getch();
}
Next Post »»
For further Knowledge and Tutorial Keep Visiting :-TechJatt - The source for all kind of Tutorial on Ethical Hacking
Like Us on Facebook or Follow on Twitter or Add to Circles on Google + to remain updated