I created a daily challenge before but no one replied. This time on my 100th day on Kodular Community I am creating a new challenge that will be simple & easy.
Convert the percentage score into the grading system given below:
Return “A+” if score = 100
Return “A” if 90<= score <100
Return “B” if 80<= score <90
Return “C” if 70<= score <80
Return “D” if 60<= score <70
Return “E” if 50<= score <60
Return “F” if score <50
No extension or component can be used.
No need to take care of unexpected inputs like strings or special character
Shortest & Fastest answer will be marked as solution
Last date/time to post your answer is 2020-08-29T18:30:00Z
Whoa , Great. I have the same code. Perfect. Just omit intialise local block and use list directly to reduce 2 blocks (making it 10).
Also there an imperfect way of reducing two more blocks by removing + 1 block and replacing floor with ceil and 10 with 9.99999 but it will work accurate for scores only upto specific decimal places and give different results for number like 89.999999999. More you increase the 9 after point it will get more accurate.