Created
February 25, 2019 17:01
-
-
Save ohiofi/2c086d361cedfe8fa712477bdeda273b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Prompt the user for the number of coin flips. | |
Flip the count the designated number of times - displaying the number of the coin flip and the result | |
Display the number of coin heads and number of tails! | |
How many flips would you like? 4 | |
1. heads | |
2. tails | |
3. heads | |
4. heads | |
The results: | |
3 heads - 75.0% | |
1 tails - 25.0% | |
*/ | |
public class CoinFlipper | |
{ | |
public static void main(String[] args) | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment