Computer Science Lecture Notes, Chapter 4

Compute lottery number #1 at random. Compute lottery number #2 at random ( keep computing if #2 duplicates #1. Compute lottery number #3 at random ( keep computing if #3 duplicates #1 or #2. Print the lottery numbers, user’s picks, and how much was won ( repeat the lottery game with those picks as many times as the user wanted ................
................