Advertisement
VodVas

Последовательность

Aug 16th, 2023 (edited)
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | Software | 0 0
  1.             int firstNumberInSequence = 5;
  2.             int maxNumberInSequence = 97;
  3.             int sequenceStep = 7;
  4.  
  5.             for (int i = firstNumberInSequence; i < maxNumberInSequence; i += sequenceStep)
  6.             {
  7.                 Console.WriteLine(i);
  8.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement