GPbl3YH

CSLight #11

Jan 26th, 2021 (edited)
736
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace CSLight
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             int leftLimit = 7;
  14.             int rightLimit = 98;
  15.             for (int i = leftLimit; i <= rightLimit; i += 7)
  16.             {
  17.                 Console.Write(i + " ");
  18.             }
  19.             Console.ReadKey();
  20.         }
  21.     }
  22. }
Add Comment
Please, Sign In to add comment