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