[Solved] How to solve this x^2+13^x=z^2 in C# help please [closed]


first of all,

this looks not so good…
Use it like this

int x = 2;
int y = 13;
int z = 2;
int whatever, anotherWhatever;

for (int i = 0; i < 100; i++)
{
    whatever = Math.Pow(i, x) + Math.Pow(y, i);
    anotherWhatever = Math.Pow(i, z);

    if (whatever == anotherWhatever)
    {
       // your code
    }
}

0

solved How to solve this x^2+13^x=z^2 in C# help please [closed]