skipter

for - C# Divisible by 3...

Jun 1st, 2017
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. using System;
  2. namespace ConsoleApp8
  3. {
  4.     class Program
  5.     {
  6.         static void Main(string[] args)
  7.         {
  8.             for (int i = 3; i < 100; i+=3)
  9.             {
  10.                 Console.WriteLine(i);
  11.             }
  12.         }
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment