Rewrite if operator with while loop
#7
+5
−1
if operator with while loop
#7