Posts by André Felipe • 24 points
1 post
-
0
votes1
answer62
viewsA: Problem with switch case inside for loop
The problem is on the following line: scanf("%c", &opcao); What happens is that when we type some character in the terminal, in practice it is sent to the keyboard buffer (stdin), two…