DIVISION OF 2 VALUES

#include<stdio.h>
#include<conio.h>
  void main()
  {
  int a,b,c;
  clrscr();
  printf("enter the value of a");
  scanf("%d",&a);
  printf("enter the value of b");
  scanf("%d",&b);
  c=a/b;
  printf("the result of c is %d",c);
  getch();
  }

0 comments: (+add yours?)

Post a Comment