Skip to content · ⁨コンテンツへスキップ⁩

Print a number · ⁨数字を表示する⁩

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);。

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP