Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- public class Problem
- {
- static void Main()
- {
- int a = 20;
- int b = 0;
- while (b <= 0)
- {
- for (int i = 11; i <= 20; i++)
- {
- if (a % i != 0)
- {
- a += 20;
- break;
- }
- else if (i == 20)
- {
- b = a;
- break;
- }
- }
- }
- Console.WriteLine("\n{0}\n", b);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment