Advertisement
Guest User

quotient

a guest
Jun 20th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.        int a,b,quotient,reaminder;
  5.        printf("Enter two numbers:");
  6.        scanf("%d%d",&a,&b);
  7.        quotient=a/b;
  8.        reaminder=a%b;
  9.        printf("\nquotient=%d \nreaminder=%d",quotient,reaminder);
  10.        return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement