Java Genesis

Hints for Chapter 4: Control Constructs

Problem 1: winning the toss

Here is a simple scenario:

Try converting this scenario into code before looking at the final hint.


Next Hint