Division of two numbers in C-Language


 












Learn Coding Easily



Calculate the division of two positive integer numbers. ( C-Language) 



#include<studio.h>

#include<conio.h>

void main()

{

  clrscr();

  int a,b,div;

  printf("enter the positive integer number a= ");

  scanf("%d",&a);

  printf("enter the positive integer number b= ");

  scanf("%d",&b);

  div=a/b;

  printf("total= %d",div);

  getch();

}



Example;

Compiler Name - Turbo C


Input



Output


1.



2.



3.



4.



5.




__Thanks for watching__



Comments

Popular Posts