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 Homework10
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- int firstNumberInSequence = 5;
- int lastNumberInSequence = 96;
- int intervalInSequence = 7;
- for (int i = firstNumberInSequence; i <= lastNumberInSequence; i+=intervalInSequence)
- {
- Console.Write(i + " ");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement