Print a number · 数字を表示する
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
Print a number
To print a number, use %d and put the number after the comma: printf("%d\n", 7);.
日本語
数字を出力する
数字を出力するには、%d を使い、コンマの後に数字を置きます:printf("%d\n", 7);。
Print the number 7. %d is the slot for a whole number. · 数字 7 を表示します。%d は整数のためのスロットです。
Click Run to see the output here. · 実行ボタンをクリックして出力を確認してください。