Last active
January 9, 2024 08:09
-
-
Save tsk-arh/de2b4b5db3f166c924fbb631c52b4558 to your computer and use it in GitHub Desktop.
ЗАДАНИЕ Последовательность
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApp4 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int startNumber = 5; | |
int endNumber = 96; | |
int argument = 7; | |
for (int nextNumberWrite = startNumber; nextNumberWrite <= endNumber; nextNumberWrite += argument) | |
{ | |
Console.WriteLine(nextNumberWrite); | |
} | |
Console.ReadLine(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment