Promozione
CodeGym University
Apprendimento
Corso
Compiti
Sondaggi e quiz
Giochi
Aiuto
Agenda con promemoria
Comunità
Utenti
Forum
Chat
Articoli
Storie di successi
Attività
Recensioni
Abbonamenti
Tema chiaro
Aiuto nei compiti
Recensioni
Informazioni
Inizia
Inizia il corso
Inizia il corso ora
Tutte le domande
Fai una domanda
Tutte le missioni
Tutti i livelli
Qualsiasi stato
Domande sui compiti
Attuali
Gino
Livello 29
Milan
Domanda sul compito
Rounding numbers
Core Java
,
Livello 8
,
Lezione 11
Discussione in corso
the output seems correct but does not validate
some advice?
07.01.2024
114
viste
2
commenti
0
Federico Russo
Livello 20
Milano
Domanda sul compito
Ascending numbers
Sintassi Java
,
Livello 6
,
Lezione 11
Discussione in corso
what Is missing? anyone can help me? thank you!!
public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); //write your code here int[] nu = new int[5]; for(int i = 0; i < 5; i++){ nu[i] = Intege
07.11.2023
189
viste
3
commenti
0
Federico Russo
Livello 20
Milano
Discussione in corso
what Is missing?
hello everyone! what Is missing in my code? i cant satisfy last two targets of the task. anyone can help me? thank you!!!!
07.11.2023
48
viste
0
commenti
0
Pandonio
Livello 7
Domanda sul compito
Sorting three numbers
Sintassi Java
,
Livello 4
,
Lezione 6
Risolta
Descending order for integers not working
Hi all, I'm having some problems solving this. The code I wrote doesnt work because Collections.reverseOrder() doesnt like integers. If I use a String array with String values, it works only for positive numbers (obviously). How can I solve this? Here attached you can find the "Int" version. Thank y
25.08.2023
257
viste
4
commenti
0
fari
Livello 8
Domanda sul compito
Cat code won't compile
Sintassi Java
,
Livello 7
,
Lezione 12
Discussione in corso
java.lang.NumberFormatException
hello, I can't find out why my code return that error. Can someone help me please?
02.10.2023
132
viste
4
commenti
0
Pandonio
Livello 7
Domanda sul compito
Shortest or longest
Sintassi Java
,
Livello 7
,
Lezione 6
Risolta
Code is working, but 3 e 4 requirements fail
Can you help me? Thanks!
06.09.2023
104
viste
4
commenti
0
Pandonio
Livello 7
Domanda sul compito
Even and odd digits
Sintassi Java
,
Livello 6
,
Lezione 5
Risolta
Even/odd number variables not working
Hi all, I dont know what the mistake is... The compiler says that I didnt store the number of even/odd numbers in the eved/odd variable... Can anyone help me? The output is correct Thank you..
30.08.2023
149
viste
2
commenti
0
fari
Livello 8
Domanda sul compito
Longest string
Sintassi Java
,
Livello 7
,
Lezione 6
Discussione in corso
Can't find the error/s
The code seems work, but can't pass the tests, someone can help me please?
20.07.2023
153
viste
2
commenti
0
Matte Mor
Livello 3
Risolta
I need help about IntelliJ IDEA and CodeGym plugin
Hi, I installed the latest IntelliJ IDEA app and then the CodeGym plugin by clicking on the link written in the lesson. When I click on the "Select Task" button as said in the lesson this ban shows up: "Intellij IDEA version does not match plugin version. Download suitable plugin?". After following
26.06.2023
107
viste
1
commento
0
fari
Livello 8
Domanda sul compito
Task about algorithms
Sintassi Java
,
Livello 5
,
Lezione 12
Discussione in corso
Last requirements
Hello everybody, my code can't pass the last requirement. Someone could help me please?
22.06.2023
222
viste
2
commenti
0
Matteo Nebbia
Livello 7
confienza
Domanda sul compito
Task about algorithms
Sintassi Java
,
Livello 5
,
Lezione 12
Discussione in corso
Can't find the solution, the program seems to work well.
hi, i can't find what do not let me pass this exercise. It work well, but i can't get green on the display maximum number.
13.04.2023
213
viste
1
commento
0
Matteo Nebbia
Livello 7
confienza
Domanda sul compito
Closest to 10
Sintassi Java
,
Livello 4
,
Lezione 4
Discussione in corso
output Is correct, but i can't get green on last check
hello, I made a program that works well, but last check never turns green. I checked the distance from +10, so a -3(example) Is 13 from +10, a +8 (example) is only 2 from +10. Am i wrong with my impostation?
30.03.2023
187
viste
2
commenti
0
Pina
Livello 4
PALERMO
Discussione in corso
I don't know how to do the exercises of CodeGym
Hi everyone. I arrived at lesson 8 of level 3. But I can't do some exercises. I asked for the solution ... and these are things I've never seen on codeGym. How come? how can i study like this? I'm confused
12.02.2023
219
viste
3
commenti
0
Pina
Livello 4
PALERMO
Discussione in corso
why? level 2 lesson 2
com/codegym/task/task02/task0202/Solution.java:16: error: illegal start of expression public static class person { ^ why it's wrong the public class person?
27.01.2023
217
viste
4
commenti
0
Belze
Livello 7
Domanda sul compito
Task about algorithms
Sintassi Java
,
Livello 5
,
Lezione 12
Risolta
boooh!!
I don't understand... it works fine but it doesn't pass!!!
17.01.2023
144
viste
2
commenti
0
furius72
Livello 9
Milan
Domanda sul compito
More Sam-I-Am
Sintassi Java
,
Livello 7
,
Lezione 9
Discussione in corso
why
why ..... it works....
13.11.2022
138
viste
1
commento
0
EvelynSt
Livello 10
Domanda sul compito
Static cats
Sintassi Java
,
Livello 6
,
Lezione 11
Risolta
first requirement not met
good mornig, i don't undestand what i should do on the firs requirement, can someone help? thanks
19.10.2022
225
viste
2
commenti
0
EvelynSt
Livello 10
Domanda sul compito
Even and odd digits
Sintassi Java
,
Livello 6
,
Lezione 5
Risolta
line math operation not clear
i did all the code all by my own exept for the condition of the while in my head was input %10 ==0 , and he line 29, that i find out here in the community but really i can't get what is it. if someone could explain to me why the while loop is (n>0) and line 29 will be great
16.10.2022
272
viste
5
commenti
0
EvelynSt
Livello 10
Domanda sul compito
Task about algorithms
Sintassi Java
,
Livello 5
,
Lezione 12
Risolta
Using scanner class
I take the chance to ask someone to explain me buffer reader vs Scanner. I can use clearly Scanner but in this case is not working. Have i have to use buffer reader? May i have to add a try catch block? (I didn't study jet i am really new in java) i will figure out how to do it. Thanks who has the p
14.10.2022
323
viste
9
commenti
0
EvelynSt
Livello 10
Domanda sul compito
Calling a constructor from a constructor
Sintassi Java
,
Livello 5
,
Lezione 9
Risolta
I can't understand the task
Good day. I understand calling a constructors with an other one mean when i am invoking a method with an other. I don't understand the purpose of it. And i have read i use this (). But i want understand what i am doing. Like this( x,y,10) invoking constructor with 3 parameter?
15.10.2022
319
viste
4
commenti
0
EvelynSt
Livello 10
Domanda sul compito
Sorting three numbers
Sintassi Java
,
Livello 4
,
Lezione 6
Risolta
How print array
In this exercise requirement don't met even if the print is right i guess there is something wrong in the array printing. Can someone explain to me? Thanks so much
07.10.2022
528
viste
12
commenti
0
EvelynSt
Livello 10
Domanda sul compito
Getters and setters for the Person class
Sintassi Java
,
Livello 5
,
Lezione 5
Risolta
Missing getter
The program has three getter but the verify wont read it any clue?
12.10.2022
224
viste
2
commenti
0
EvelynSt
Livello 10
Domanda sul compito
Feline carnage
Sintassi Java
,
Livello 5
,
Lezione 5
Risolta
Identifier missing what does it mean
Good day,what does it mean identifier missing? Usually is when declaring a variable and missing the type. Here i don't understand in the invoking of method
11.10.2022
202
viste
2
commenti
0
EvelynSt
Livello 10
Domanda sul compito
Sorting three numbers
Sintassi Java
,
Livello 4
,
Lezione 6
Risolta
Using math max, missing 3 point
I have tried with array, but it seems i always miss 3 point, (comment you see all the try)so i tried wirh Math. Max and still not working on 3 point. I don't understand , please tell me what is wrong that I miss 3 point. Really thank you.
09.10.2022
219
viste
0
commenti
0
EvelynSt
Livello 10
Domanda sul compito
Crossing the road blindly
Sintassi Java
,
Livello 4
,
Lezione 4
Risolta
i don't undestand the task, please someone explain me the logic
at firs read i though about a loop, but i couldn't figure out how to do it, so i do it with paper so i think as it follow double a = (t/5.00); divide insert time for 5 double b = 0; b= t-(a*5); insert ime - (correct numer of ciclo) /* if (b>=0 && b,3) System.out.println("y
04.10.2022
554
viste
7
commenti
2
Amo programmare
Livello 32
Domanda sul compito
Somehow average
Sintassi Java
,
Livello 4
,
Lezione 16
Discussione in corso
Why is my == not working in the solution
Hey, I don't understand why else if ((n1 == n2) || (n2 == n3)) { midNum = n2; } else if (n1 == n3) { midNum = n3; } is not returing the same number. It is always returning 0. It doesn't work with 4 3 3 or 3 4 3 but it strangly will work
23.08.2022
302
viste
3
commenti
0
Amo programmare
Livello 32
Domanda sul compito
Crossing the road blindly
Sintassi Java
,
Livello 4
,
Lezione 4
Discussione in corso
I've tested tons of numbers and I don't understand why it fails the task test
Hi, I'm hoping that somone could help me understand why my code is not passing the test. I know that it's overly complicated and that there are more elegant solutions out there, but this was the first solution that I came up with on my own. In my mind it should work but I don't know why it doesn't
04.08.2022
298
viste
2
commenti
0
Alexander Thomson
Livello 8
Lucca
Domanda sul compito
Checking the order
Sintassi Java
,
Livello 7
,
Lezione 9
Risolta
Last condition
I don't understand why I don't sodisfact the request.. I have check the solution and the only difference is I'm using for each loop and in the solution use a for loop but the code will work aniway
27.04.2022
249
viste
1
commento
0
Mrrobot993
Livello 9
Domanda sul compito
Task about algorithms
Sintassi Java
,
Livello 5
,
Lezione 12
Discussione in corso
The program should display the maximum of the N entered numbers. Why if I try to test it works and for the website not?
I have done numerous tests and all works. For the 5th task the system give me error. Can u help me please to understand?
29.10.2021
219
viste
2
commenti
0
Anonymous #10841110
Livello 4
Discussione in corso
hi, i'm italian, can someone help me? .. when i put the italian language the lessons remain in english, please help
please tell me how to fix it,or i cant learn programming
03.10.2021
303
viste
2
commenti
0
Mostra altro
1
2
Please enable JavaScript to continue using this application.