编写函数 int mymod( int a,int b )用以求a被b除之后的余数

求完整编程!...
2026年09月24日 00:03
有1个网友回答
网友(1):

int mymod(int a,int b){
return a-(a/b)*b;//a/b为整数。
}