fork download
  1. #include <stdio.h>
  2.  
  3. int main(){
  4. int A, B;
  5. scanf("%d %d", &A, &B);
  6. printf("%d\n", A+B);
  7. printf("%d\n", A-B);
  8. printf("%d\n", A*B);
  9. printf("%d\n", A/B);
  10. printf("%d", A%B);
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 5472KB
stdin
7 3
stdout
10
4
21
2
1