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.
A: Yes, lung cancer in its early stages offers a better chance for a cure. Unfortunately, the symptoms of lung cancer, which include a cough that won't go away, chest pain, and coughing up blood, often don't appear until the cancer has grown or spread. Lung cancer is one of the hardest cancers to find early on. But newer tests, such as spiral CT scans, can help find more cancers early.