Print a number · In một số
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Trang này cần trình duyệt gần đây (hỗ trợ SharedArrayBuffer). Vui lòng cập nhật Chrome, Edge, Firefox hoặc Safari lên phiên bản mới nhất.
English
Print a number
To print a number, use %d and put the number after the comma: printf("%d\n", 7);.
Tiếng Việt
In một số
Để in một số, sử dụng %d và đặt số đó sau dấu phẩy: printf("%d\n", 7);.
Print the number 7. %d is the slot for a whole number. · In số 7. %d là ô chứa một số nguyên.
Click Run to see the output here. · Nhấn Chạy để xem kết quả ở đây.