kirililchev3

Divisible by 3 - for i+=3

May 17th, 2018
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.20 KB | None | 0 0
  1. using System;
  2.  
  3.     class Program
  4.     {
  5.     private static void Main()
  6.     {
  7.        for (var i=3; i <= 100; i+=3)
  8.         {
  9.             Console.WriteLine(i);
  10.         }
  11.  
  12.  
  13.         }
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment