Advertisement
IvanOseledko

Homework9

Sep 6th, 2023
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.41 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Hw9
  4. {
  5.     class Program
  6.     {
  7.         static void Main()
  8.         {
  9.             int minimumNumberOfSequences = 5;
  10.             int sequenceStep = 7;
  11.             int maximumNumberOfSequences = 96;
  12.  
  13.             for (int i = minimumNumberOfSequences; i <= maximumNumberOfSequences; i += sequenceStep)
  14.             {
  15.                 Console.WriteLine(i);
  16.             }
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement