" write a program that winn print out statistics for 8 coin tosses. the user will input either an 'h' for heads or a 't' for tails for the eight tosses. the program will then print out the total number and percentages of heads and tails. use the increment operator to count each h and t that is input."
for example a possible sample dialog might be:
First toss :t
Second toss : c
.
.
.
.
eight toss : t

number of heads :5
number of tails : 3

percent heads: ..
percent tails :..

ora... sarò scemo...o semplicemente stanco... però dato che il libro non è ancora arrivato a spiegare if... then.. else...
come diamine incremento il numero di heads e tails in base all'input?