Average ASCII value of string
Statement
Goal
Given a String you must output the average ASCII value of that string. For example :Input: "abc"
Output: 98
Input
Input: A string
Output
Output: Average ASCII value of that String rounded down.
Constraints
String contains no spaces
Example
Input
abc
Output
98
Game modes
Fastest, Shortest
Test cases
Test 1 Test
Input
abc
Output
98
Validator 1 Validator
Input
bas
Output
103
Test 2 Test
Input
Coding
Output
99
Validator 2 Validator
Input
CODING
Output
72
Test 3 Test
Input
Average
Output
99
Validator 3 Validator
Input
WTF
Output
80
Test 4 Test
Input
bored
Output
104
Validator 4 Validator
Input
lazy
Output
112
Test 5 Test
Input
a
Output
97
Validator 5 Validator
Input
z
Output
122
Solution language
Solution
Stub generator input