Posts by Felipe Nunes • 11 points
1 post
-
1
votes2
answers172
viewsQ: Error in reading, strings and integers
#include <stdio.h> struct tetris{ char nome[16]; int pontuacao; }; int main(){ int i, nteste = 1, J, k, total = 0, maior, menor, pontos; while (scanf("%d\n", &J) && J != 0){ struct…