Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- int firstNumber = 5;
- int lastNumber = 96;
- int additionalNumber = 7;
- for (int i = firstNumber; i <= lastNumber; i+= additionalNumber)
- {
- Console.Write($"{i} ");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement