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