(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