The books solution, is definitely cleaner, and the biggest difference I can see is the books solution is actually sorting the variables, rather than just changing the display order. In terms of efficiency, displaying stuff to the console is more efficient than popping up message boxes.
A Dr. Sharmila Anandasabapathy, MD , Gastroenterology, answered on behalf of The Mount Sinai Health System. Colon cancer is very curable and survivable provided detection is early. In this video, Sharmila Anandasabapathy, MD, a gastroenterologist, explains that later detection can result in lower survivability rates.
It is thought that if lung cancer is detected at an early stage with screening that it can be cured and the consequences of this are a significant reduction in lung cancer mortality, as the 5-year survival rate for early-stage disease is 54%, and a reduction in the need for expensive and toxic treatments for advanced late-stage lung cancer, which seldom results in a cure as reflected by a 5-year survival rate of 4%.