Code Wars C# 7 kyu: Cats and Shelves



Beginner level C# object oriented programming series. Viewers are provided two integers representing a starting and ending point for a cat that is climbing shelves. Shelves are arranged in a staggered order such that the cat each time must jump across while moving upward. See the diagram at the link below for a fuller understanding. Viewers must determine how many jumps it will take the cat to reach its destination.

The best way to learn computer programming is by actually writing code. Create a Code Wars account at www.codewars.com/r/3jPbdQ to follow along. No downloads required- you can start coding right away from your favorite browser. Coding challenges can be quite fun too, like puzzles and brain teasers. This challenge may be found at: https://www.codewars.com/kata/62c93765cef6f10030dfa92b/train/csharp