Posts by João Paulo Beltrame • 36 points
3 posts
-
0
votes3
answers1300
viewsA: How to remove item from an array by filtering by value?
Friend, I would use the function filter Javascript. Giving a basic explanation, it interacts with its array, and when the imposed condition is true, it returns the element, already concatenating it…
-
2
votes1
answer44
viewsA: Inserting Id of a Foreign Key into a Relational Database
Assuming your Category table name is unique: INSERT INTO postagem (idPostagem, titulo, conteudo, idCategoria) VALUES (<Seu idPostagem>, 'Titulo', 'Conteudo', (select idCategoria from Categoria…
-
0
votes3
answers985
viewsA: Store multiple numbers in a variable and then print and show the sum
Good friend, for this problem I would make a variable accumulator, to add the results of the operation. So then: int acum = 0; //variavel acumulador int N; //variavel a ser lida After reading, the…
javaanswered João Paulo Beltrame 36