Strength Training with Accumulative Method

# Introduction In this challenge, we will be implementing a program to help John calculate the total number of weightlifting training sessions based on a new training plan. John's plan is to practice as many times as the number of days remaining until the competition, gradually decreasing the number of sessions each day. To solve the challenge, we will be using different loop methods such as `while`, `do...while`, and `for` loops to calculate the cumulative sum of weightlifting sessions.

|60 : 00

Click the virtual machine below to start practicing