Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Numbers1NWithStep3
- {
- static void Main()
- {
- var n = int.Parse(Console.ReadLine());
- for (var i = 1; i <= n; i += 3)
- {
- Console.WriteLine(i);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement