#include <stdio.h>
int main() {
int n[9];
for(int i=0; i<9; i++){
scanf("%d", &n[i]);
}
printf("Linha 0: %d", n[0]+n[1]+n[2]);
printf("\nLinha 1: %d", n[3]+n[4]+n[5]);
printf("\nLinha 2: %d", n[6]+n[7]+n[8]);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: