Posts by danibrum • 147 points
9 posts
-
0
votes1
answer32
viewsA: Data is not being shown in the view
Problem solved by adding Sponse.data.movement to the Xios request: axios.get('https://projeto-bolsa.herokuapp.com/movimento') .then((response) => { console.log(response.data.movimento)…
-
0
votes1
answer32
viewsQ: Data is not being shown in the view
I am trying to render some data in a table using Vuejs. I am making a request with Axios as follows: export default { data() { return { movimentos: [] }; }, mounted() {…
-
1
votes1
answer123
views -
0
votes1
answer123
views -
0
votes1
answer192
viewsQ: Generate an array from a query in mongoDB (Mongoose)
Good morning! I need the data from a collection of Mongo on the front end. I’m using Mongoose as ODM, and I got a little lost in sending the data to the front end. In the query it returns me the…
-
1
votes1
answer219
viewsQ: Operation of Array.filter() in Javascript
Hello! I am trying to generate an array with only a "result". Basically I do a query in Amazon that returns all calls made. I want to generate an array containing only the completed calls, which in…
-
0
votes0
answers227
viewsQ: Generate chart using Chartjs in Express
I am trying to render a chart using Chartjs. I am using nodejs (Express) and mongoDB. The idea is to take the database data, go to the front, and from that, render the graph. I already have some…
-
1
votes2
answers1267
viewsQ: How to create a vector by joining together 2
I’m doing an exercise with vectors where I need to read two vectors of 5 positions each, and after that, concatenate these two into a 3 of 10 positions. My program is correctly printing the first…
-
-1
votes1
answer118
viewsQ: Print a square where prime number positions receive a "#" and the others receive a "_"
#include <stdio.h> int main () { int n, i, j; printf("Digite o tamanho do quadrado\n"); scanf("%d", &n); for(i=1; i<=n; i++) { for(j=1; j<=n; j++) { if(i%j == 0) { printf("#"); }…