PRF193_PE_SP25_102556_3495.webp
May76

PRF193_PE_SP25_102556_3495.webp

  • Media owner May76
  • Ngày thêm
Output for marking:
Output for marking:
Output for marking:
Output for marking:
Kizspy.me
OUTPUT:
OUTPUT:
Spring
Summer
OUTPUT:
Autumn
OUTPUT:
Winter
Question 2:
(3 marks)
The given file Q2.cpp already contains statements to input the integer variable named n. You should
write statements to calculate expression value:
S =
12+22+32 +4² + ... + m²
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
Input: n = 10
Zoom
After procaccina racult-717
+ 100%
After procaccina racult-196
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
1,052
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom