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.
Carcinoma is the most common type of cancer and hence quite well explored and easily diagnosed. Sarcoma is rare and hard to detect and diagnose and not well explored due to its rareness. So, for a cancer patient, it is more dangerous to have a news of being diagnosed with sarcoma rather than carcinoma. The aggressiveness can be rated on metastasis scale. Grading system looks very good in books but when it comes to treatment, till date surgery is the best option opted for cancer patients.