Remainder · 求余数
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · 此页面需较新浏览器(支持 SharedArrayBuffer)。请升级 Chrome、Edge、Firefox 或 Safari 至最新版本。
English
Remainder
% gives what is left over. 10 % 3 is 1. (Inside printf, %d is still the number slot.)
中文
求余数
% 给出剩下的数。10 % 3 是 1。(在 printf 里,%d 仍然是数字占位符。)
Use % to print 1 (the remainder of 10 % 3). · 用 % 打印 1(10 % 3 的余数)。
Click Run to see the output here. · 点击“运行”查看此处输出。