Beta

The average of two ASCII chars [code golf]

Description:

Your job in this kata is to find the average of two letters and output that said letter.

You will be given two letters (from ASCII printable characters). That is from ASCII value 32 to value 126.

You will find the average of these two letters, then print it out.

Your input will be letters and output will also be letters.

if the average is a decimal point value dont round it up so if value is 67.5 your output will be 67

** Note : max length for code is 30 (the tests only read BF instructions, so feel free to add comments and whitespaces to your code)

Dont ask for input more than twice


Example

given two letters A Z output will be M
this works like this : A has ASCII value 65 while Z has value 90. their average is 77.5
you will print out 77

This is my first kata so forgive me if something is wrong (if you can find issue i will do my best to fix it.)

Restricted
Puzzles
Games

Stats:

CreatedDec 12, 2020
PublishedDec 12, 2020
Warriors Trained58
Total Skips0
Total Code Submissions111
Total Times Completed17
BF Completions17
Total Stars4
% of votes with a positive feedback rating81% of 13
Total "Very Satisfied" Votes9
Total "Somewhat Satisfied" Votes3
Total "Not Satisfied" Votes1
Total Rank Assessments13
Average Assessed Rank
5 kyu
Highest Assessed Rank
4 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • Eternal learner Avatar
  • Mednoob Avatar
  • Just4FunCoder Avatar
Ad