PRF192_-_PE_-_SP_2025_-_s_3_3464.webp
H

PRF192_-_PE_-_SP_2025_-_s_3_3464.webp

☑Kizspy.me
(1 mark, file to be edited: Q1.c)
Write a program that asks the user to enter a real number representing a distance in meters. Convert
this value to feet. 1 meter = 3.28084 feet.
Print the result with two decimal places.
Below is an example of how the program will run:
2 of 2
Paper No: 3.
5.5
OUTPUT:
18.04
Press any key to continue
Zoom
Question 2:
(1 mark, file to be edited: Q2.c)
Write a program that asks the user to enter a positive integer N and calculates the sum of squares from
1 to N. The sum of squares equals: 1^2+2^2 + 3^2+...+n^2
+100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRF192
Thêm bởi
hoangha295
Ngày thêm
Lượt xem
1,099
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom