The code prompts the user to input points scored by Alex, Nikil, and Sam. It then validates that the input points are between 0-50. Finally, it compares the points and prints which player scored the highest points and won the game.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100%(2)100% found this document useful (2 votes)
9K views1 page
Ludo King Code
The code prompts the user to input points scored by Alex, Nikil, and Sam. It then validates that the input points are between 0-50. Finally, it compares the points and prints which player scored the highest points and won the game.