/** * Check to see if you have a fair coin. */ public class CoinTest { public static void main(String[] args) { int headCount = 0; int maxTosses = 1000; System.out.println("You had " + headCount + " heads out of " + maxTosses + " coin tosses."); } }