Write sum function that returns the sum of cubes of numbers from n to m.
Call the function and print its result in the console.
Write function year that passes the Birth parameter.
Birth year parameter represents the birth year of a person. The function should return how old a person is.
The number of years a person has calculated based on their birth year and the current year that you can pull from your computer.
Call the function and print the result in the console.
Write function divisible by passing three parameters n, m and k. The function on the screen should print the number of numbers n to m that is divisible by k. Call the function