Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Homeworkk13
- {
- class Program
- {
- static void Main(string[] args)
- {
- int divisor = 17;
- int minBound = 100;
- int maxBound = 1000;
- int count = 0;
- for (int i = 0; i < maxBound; i+=divisor)
- if (i >= minBound)
- count++;
- Console.WriteLine(count);
- }
- }
- }
Add Comment
Please, Sign In to add comment