Posts by CrazyNomad • 89 points
4 posts
-
0
votes1
answer4021
viewsQ: Read a TXT file, sort, and save a new Java file
I’m doing a job for college, and I’m not being able to read the file and throw the dice into a Arraylist to sort the data, below follows as is my code so far public class Teste { /** * @param args…
-
3
votes1
answer5335
viewsQ: Java remove an item within a chained list Simple
I am having difficulties in generating a code to remove an item from a certain position in a chained list, this is not an Arraylist, but a chained list, for this I am creating a method as below:…
-
2
votes1
answer966
viewsQ: Help with Java codemount from ArrayList (search, insert String)
Good evening, I have to develop a code, but I’m having some doubts, follow the code below: public class Aluno { String nome; int mat; Aluno(String nome, int mat) { this.nome = nome; this.mat = mat;…
-
3
votes3
answers1231
viewsQ: Function that writes the first 50 numbers whose sum of the formant digits is 10
I have a question, I need to do a function in Javascript that shows the 50 numbers that the sum of their digits is equal to 10, example: Number 19, digits 1 and 9, sum of digits: 1+9 =10. The…