Advertisement
IvetValcheva

1. Numbers Ending in 7

Mar 28th, 2023
603
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _01._Numbers_Ending_in_7
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             for (int i = 7; i <= 997; i+=10)
  10.             {
  11.                 Console.WriteLine(i);
  12.             }
  13.         }
  14.     }
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement