Closed vedangj044 closed 3 years ago
Write a kotlin function to simplify a number. That means input = 1000; ouput = 1k input = 2341 output = 2k
basically, this function approximates the values of the number if it's more than 1000.
I'm submitting a
Expected Behaviour:
Write a kotlin function to simplify a number. That means input = 1000; ouput = 1k input = 2341 output = 2k
basically, this function approximates the values of the number if it's more than 1000.