fork download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int A=70,B=50;
  6. printf("The sum of %d and %d is %d",A,B,A+B);
  7. printf("\nThe subtraction of %d and %d is %d",A,B,A-B );
  8. printf("\nThe multiplication of %d and %d is %d",A,B,A*B);
  9. printf("\nThe result devision of %d and %d is %d",A,B,A/B);
  10. printf("\nThe remainder of %d and %d is %d",A,B,A%B);
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
The sum of 70 and 50 is 120
The subtraction of 70 and 50 is 20
The multiplication of 70 and 50 is 3500
The result devision of 70 and 50 is 1
The remainder of 70 and 50 is 20