Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [StartCode]
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApp3
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- int stepPayment = 7;
- int startPayment = 5;
- int finishPayment = 100;
- for (int i = startPayment; i < finishPayment; i += stepPayment)
- {
- Console.WriteLine(i);
- }
- }
- }
- }
- [EndCode]
Advertisement
Add Comment
Please, Sign In to add comment