If anyone would be able to help me, i'd really appreciate it please. for school i have a problem to do that deals with random numbers. i need to write a program that generates a series of random numbers between 0 and 9 until a zero is generated and then displays the length of the sequence.
similar outcome to:
3 2 7 8 8 6 0
Length was 7.
if anyone can help me, i'd really like it. thanks!