Posts by Rodrigo Muniz • 31 points
3 posts
-
0
votes2
answers895
viewsQ: Error in using Else
The program is giving an error when compiling. Else without a Previous if Something about the else, there’s something wrong with the condition if and else? #include <stdio.h> #include…
-
0
votes3
answers730
viewsA: Insert data into a vector to then print and multiply
to print only the values on the screen for now.. would be so? int main(void) { int vetorA[10] = { 0 }; int vetorB[10] = { 0 }; int i; for(i = 0; i < 10; i++){ printf("Vetor A: \n"); scanf("%d",…
-
1
votes3
answers730
viewsQ: Insert data into a vector to then print and multiply
Write an algorithm that reads two vectors of 10 positions and make the multiplication of the elements of the same index, placing the result in a third vector. Show the resulting vector. I wanted to…