I am very new to visual basic. My homework assignment is to make a form functional that my teacher set up. The for is a coin toss program that has a text box for heads and tails that will be filled with the head and tails count (the amount it lands on either) The percentage of times it lands on either and the longest run that a head or tail is consecutively landed on. We have a text box the user inserts the amount of flips they want. there are two buttons; one of them just flips the coin as many times as the user inserts and the other button flips the coin until the consecutive flips of either heads or tails is reached from the user inserted amount. I have no clue what to do with the code. How do I do this?!