Dear lazy internet:What's the correct way to combine two loops into a single progress double 0 to 1?for (int a ...) for (int b ...) progress = something a and b