0
I need to create a for that goes from 10 to 99 and then I need to print inside an if all the values that we summed up resulting in 11 (for example 56 = 5 + 6 = 11)
So far my code is like this
class Program
{
static void Main(string[] args)
{
for(int i = 10; i <= 99; i++)
{
int[] array = new int[2];
for(int j = 0; j < i.ToString()[j]; j++)
{
array[j] = int.Parse()[j];
}
}
}
}
but I’ve been knocking my head for a while and I can’t find the final solution.
Thank you very much :D was much clearer to understand.
– non non