Because the industry is very fasted paced , and industry standards are constantly changing so IT professionals need to consistently pursue continuing self education
After a = b new values would be: a = 20, b = 20
Force:newtons
distance:meters
work:joules
power:either watts or horsepower
energy:joules
time:kiloseconds and milliseconds
Without knowing the language, it's pretty imposible to write it. Once you start thinking recursively, it's not a difficult problem.
While you're recursing, pass the string without the first character.
The base case would be a null string which would return 0.
The unwind would just add one and return that.