I try to do this, but the loop doesn't work for some reason, it just skips it.
I need to do if the i variable is greater than 10 then check the g condition and if it is equal to 1 complete the loop
until two conditions are met the loop should not end
int main() { for (int i = 0, g = 12; i < 10 ? g == 1 : false; i++, g--) { std::cout << i << " | " << g << std::endl; } return 0; }