Tasks for the "While" Loop

Below is a detailed explanation of simple tasks to help those of you who don’t have any experience in programming and are taking your first steps in this field. After you look at these tasks, it will be much easier to move on to more complex problems.

Task No. 1

It is necessary for the program to display the following sequence of numbers: