Posts by lfernando_17 • 31 points
3 posts
-
1
votes1
answer28
viewsA: Matrix, Float, matrix position
Just put a printf skipping a line at the end of the loop of I , so that always end the line jump line for(i = 0; i < linha; i++) { for(j = 0;j < coluna; j++) { printf("%.1f\t", mesas[l][c]); }…
-
0
votes1
answer16
viewsA: Vector-Column Program
Hello, I believe the question was very generic , I believe you wanted to put the notes in columns , for this I saw no use in J . Here’s my view of your code : #include <stdio.h> int main(){ //…
-
2
votes3
answers91
viewsA: Make a program that receives 5 numbers and show the following output:. C++
I hope this satisfies you , I was breaking my head not to try to do the gambiarra #include <iostream> #include <cstdlib> #include <clocale> using namespace std; int main(){…