PRF192_-_PE03_-_SP_2024_1520.webp
V

PRF192_-_PE03_-_SP_2024_1520.webp

statements to calculate expression value:
S(n)=1+3+5+....+(2*n + 1)
Notes:
- You can create new function(s) if you see it is necessary.
- Do not edit given statements in the main function.
Sample input and output:
Input: n = 3
After processing: S(3) = 16
Output for marking:
OUTPUT:
16
Question 3:
(2 marks)
Zoom
+ 100%
FUO
Close
Chưa có bình luận nào.

Thông tin

Category
PRF192
Thêm bởi
Văn Đức1
Ngày thêm
Lượt xem
2,130
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRF192_-_PE03_-_SP_2024_1520.webp
File size
101.7 KB
Dimensions
1920px x 760px

Share this media

Back
Bên trên Bottom