Advertisement
Spocoman

08. Divisible by 3

Jan 10th, 2022
73
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.  
  3. namespace DivisibleBy3
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             for (int i = 3; i < 100; i += 3)
  10.             {
  11.                 Console.WriteLine(i);
  12.             }
  13.         }
  14.     }
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement