Код:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _1000_7
{
internal class Program
{
static void Main(string[] args)
{
int a = 1000;
int b = 7;
int d = -1;
Console.WriteLine(a+" - "+b);
while(a>d)
{
if (a %2==0)
{
a = a - b;
Console.WriteLine(a + " - " + b);
}
else if(a %2!=0)
{
a = a - b;
Console.WriteLine(a + " - " + b);
}
}
Console.WriteLine("You dead!");
}
}
}