Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _12.BreakSum
- {
- class BreakSum
- {
- static void Main(string[] args)
- {
- bool hasToEnd = false;
- for (int i = 1; i <= 3; i++)
- {
- if (hasToEnd == false)
- {
- for (int j = 3; j >= 1; j--)
- {
- if (i + j == 2)
- {
- hasToEnd = true;
- break;
- }
- Console.WriteLine(i + " " + j);
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement