C++ (Qt)WIFI *wifi = 0;int iteration = 0;const int maxIterations = 100; while (iteration++ < maxIterations) if (wifi = buyWifi ()) { iteration = 0; play (wifi); burn (wifi); } cry ();}die ();