PRF192_-_PE03_-_SP_2025_3851.webp
Văn Khang

PRF192_-_PE03_-_SP_2025_3851.webp

(3 marks)
☑ Kizspy. me given file Q4.c already contains statements to input a string to named s. You will write statements
to calculate the average value of characters in the strings (value of characters are decimal according
to ASCII code).
Notes:
-You can create new functions if you see it is necessary.
4 of 4
Paper No: 1
-Do not edit given statements in the main function.
-The output value is formatted in two decimal places
Sample input and output:
INPUT:
Enter string: ABC
After processing: result = (65+66+67)/3 = 66.00
Output for marking:
OUTPUT:
66.00
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom