fork download
  1. #include <stdio.h>
  2. int main(void){
  3. int a,b;
  4. printf("\t请输入整数a和b:");
  5. scanf("%d%d",&a,&b);
  6. printf("%d%%%d=%d\n",a,b,a%b);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
	请输入整数a和b:1360122736%32766=6076