Coin Toss - TechRepublic
General discussion
March 2, 2002 at 03:20 AM
tony3198

Coin Toss

by tony3198 . Updated 24 years, 4 months ago

I need a simple program in VB for game that simulates a coin toss. Each coin toss should print heads or tails at random. The program should loop 100 times, keeping count of the results. The program should call a seperate function that takes no arguments an returns 0 for Tails and 1 for heads.

This discussion is locked

All Comments