Advertisement
ZinedinZidan

zidan2

Sep 22nd, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int a,b,div,rem;
  5.     scanf("%d%d",&a,&b);
  6.     div=a/b;
  7.     rem=a%b;
  8.     printf("Quotient=%d\n",div);
  9.     printf("Remainder=%d\n",rem);
  10.     getch();
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement