Cody

Problem 44858. Get the mean digit

Created by Jesús Zambrano in Community

Write a function that gives the mean digit (round towards nearest integer) of an input and positive number. For example:

x = 264  --> y = 4
x = 128  --> y = 4

Solution Stats

42.86% Correct | 57.14% Incorrect
Last solution submitted on Apr 17, 2019

Problem Comments