Viết một chương trình trong C để hiển thị các điều khoản của n số tự nhiên vuông và số tiền của họ.
1 4 9 16 ... n khoản
Ví dụ:
Nhập số từ ngữ: 5
Output:
Các tự nhiên vuông tối đa 5 điều khoản này là: 1 4 9 16 25
các Sum của Square số tự nhiên tối đa 5 terms = 55
đang được dịch, vui lòng đợi..