fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int a,b;
  5. scanf("%d%d",&a,&b),
  6. printf("arithmetic operators\n");
  7. printf("a+b =%d\na-b =%d\na*b =%d\na/b =%d\na%%b =%d",a+b,a-b,a*b,a/b,a%b);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0.01s 5300KB
stdin
Standard input is empty
stdout
arithmetic operators
a+b =-2081539891
a-b =-2081605421
a*b =1352586640
a/b =-63530
a%b =-12206