Posts by Rafael S. • 23 points
7 posts
-
0
votes0
answers15
viewsQ: Conflict between counting words from a file and other functions
I need to make a progress as described in the image. I was able to do all the steps, but I couldn’t get the word count to run along with the other processes. I followed the code: #include…
-
0
votes2
answers63
viewsQ: Error in printing C numbers
The error is that the printing of the numbers is appearing duplicated. Enunciation: The error message: The code: #include <stdio.h> #include <stdlib.h> int maiorValor(int *array[], int…
-
0
votes0
answers57
viewsQ: Mean of matrix columns
The code is wrong to print the average and fill the second matrix. The code: #include <stdio.h> #include <stdlib.h> int main() { float matriz[3][6]; float SomaImp = 0, SomaDQ = 0, SomaPS…
-
0
votes1
answer45
viewsQ: LOWEST VALUE OF EACH MATRIX ROW
I need to find the lowest value of each matrix row. The values appear missing or the most (much more). What I have so far: #include <stdio.h> #include <stdlib.h> int main() { float…
-
0
votes3
answers56
viewsQ: Sum of columns
I need to sum each column of a 3X3 matrix. What I got so far: #include <stdio.h> int main() { int matriz[3][3] = { { 5, -8, 10 }, { 1, 2, 15 }, { 25, 10, 7} }; int array[3] = {0}; for(int…
-
0
votes2
answers33
viewsA: Compare Char matrix and vector
Note that for each letter of 'ma' corresponding to 'Gab' sum you receive 1. Thus, it makes no sense for the result of 4 and 5 to be 13. It follows excerpt of Cod showing matrix and vector, for…
-
-2
votes2
answers33
viewsQ: Compare Char matrix and vector
How do I make, in C, a code that compares whether the line responses of an array are equal to the line of an array? Follows the question: Follow the code I have: #include <stdio.h> int main()…