Viết chương trình nhập vào một số nguyên dương n𝑛 (n≤100𝑛≤100). Hãy in ra bảng số có n𝑛 dòng, dòng thứ ii in ra ii số tự nhiên liên tiếp bắt đầu từ số i𝑖:
Input:
Một số nguyên dương n𝑛,
Output:
Bảng số theo yêu cầu
Ví dụ
Input
Copy
4
Output
Copy
1
2 3
3 4 5
4 5 6 7
Lưu ý: Viết bằng C++ và chỉ dùng lệnh for