Convert the following to a 1) while loop and 2) a do-while loop
for (int n=100; n >=0; n=n-10){
println("n="+n);
}
Write a while-loop which "tosses a coin" and counts up how many heads and tails are obtained. The
loop stops when the number of heads or tails reaches 5. When done, convert it to a do-while loop.