Posts by Chhh • 31 points
1 post
-
2
votes2
answers67
viewsQ: Error displaying the sum of three arrays read
#include <stdio.h> #include <stdlib.h> int main() { int i, notas[5]; int soma = 0; for(i=0; i<3; i++) { printf("Digite os tres numeros:\n"); scanf("%d", ¬as[i]); } for(i=0;…