PRF193_PE_SP25_102556_3495.webp
May76

PRF193_PE_SP25_102556_3495.webp

  • Media owner May76
  • Ngày thêm
Kizspy.me
write statements to calculate expression value:
S =
12+22+32 + 42 + ... + n²
Notes:
-Do not edit given statements in the main function
- You can create new functions if you see it is necessary.
-The output result is formatted in two decimal places
Sample input and output:
Input: n=5
3 of 4
Paper No: 1
After processing: result = 7.42
Output for marking:
OUTPUT:
7.42
Zoom
Question 3:
(3 marks)
+ 100%
Input: n = 10
After processing: result = 19.62
Output for marking:
OUTPUT:
19.62
Close
Chưa có bình luận nào.

Thông tin

Category
PRF193
Thêm bởi
May76
Ngày thêm
Lượt xem
958
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom