5 XP challenge

Advance a Counter

very easy
Build it yourself · 3 min
1 Learn2 Predict3 Solve

Task
Your mission

Starting at initial, add increment exactly steps times and return the final value. initial is -100 to 100, increment is -10 to 10, and steps is 0 to 20.

Examples

InputReturn
initial = 5, increment = 2, steps = 3

answer: 5 → 7 → 9 → 11. The result is 11.

11
initial = 5, increment = 2, steps = 05

Your code

Write your answer inside Solution, then use return to send it back.

Try examples runs the public examples. Check my code checks your full answer and saves your completion.