Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Help with tasks
Reviews
About us
Start
Start learning
Start learning now
All questions
Ask a question
All quests
All levels
Any status
Questions about tasks
Hot
Raj Mishra
Level 15
India
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
2nd last condition is failing. Need help to understand the condition
Hi, I dont understand why the 2nd last condition is failing. Could anyone please clarify the meaning of this condition. I also tried adding to the list in the reverse order. But still, it is failing
02.01.2020
812
views
3
comments
0
Bogdan Codreanu
Level 23
Question about the task
Picking out numbers
Java Core
,
Level 9
,
Lesson 5
Under discussion
some help please
??
21.08.2019
1290
views
2
comments
0
Tara Edwards
Level 6
Question about the task
Cat and Dog objects: 50,000 each
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Failing last requirement
So - I changed 50000 to 500000 (although i'm not sure I understand why that was recommended to be honest) but I'm still failing the last requirement :(
13.09.2019
1822
views
8
comments
0
Kim Sangwoo
Level 4
Singapore
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
I dont get why my code fails the last condition ....?
import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); int side1 = scan.nextInt(); int side2 = scan.nextInt(); int side3 = scan.nextInt();
03.01.2020
772
views
1
comment
0
Anthony Chalk
Level 30
London
Question about the task
Sequential file output
Java Core
,
Level 6
,
Lesson 13
Resolved
Last condition not passing
I'm really confused how the fifth condition could have passed but not the last one. Please help
25.12.2019
1728
views
8
comments
0
Rad
Level 8
Maidstone
Question about the task
Cats in the Universe
Java Syntax
,
Level 4
,
Lesson 2
Resolved
i need help
how to store no.of objects in variable count
15.10.2018
2611
views
7
comments
0
Evghenii Seremet
Level 41
London
Question about the task
Restaurant (part 15)
Java Multithreading
,
Level 9
,
Lesson 15
Resolved
Second condition not validating.
I created the ManagerTablet object in Restaurant class, and called the methods. Can't get what the problem could be.
02.01.2020
891
views
2
comments
0
Pedzi
Level 22
Cape Town
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Someone please help. I am not getting why the "printing of the number of negative numbers in each set " is failing and again the zero test is also giving errors
package com.codegym.task.task04.task0429; /* Positive and negative numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); String aa =
03.01.2020
1070
views
1
comment
0
Kim Sangwoo
Level 4
Singapore
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
my code satisfies all the conditions except the last one. I really dont get why.
import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); int side1 = scan.nextInt(); int side2 = scan.nextInt(); int side3 = scan.nextInt();
03.01.2020
847
views
1
comment
0
jajaceek
Level 23
Warszawa
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
The program is work ok but the last condition is not accepted
What is wrong with the code. It works ok but the web doesn't accept the last condition. Any suggestions?
29.12.2019
1129
views
2
comments
0
Izaura
Level 4
Sao Paulo
Under discussion
I don't know how to make Woman the owner of the pets - level 2 lesson 5
public class Solution { public static void main(String[] args) { //escreva seu código aqui Cat cat = new Cat(); Dog dog = new Dog(); Fish fish = new Fish(); Woman woman = new Woman(); } public static class Cat { public Woman owner;
20.11.2019
1042
views
2
comments
0
dave
Level 14
Lancaster
Question about the task
List of number arrays
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Am I reading the problem wrong?
Am I adding the arrays correctly?
18.04.2019
1716
views
5
comments
0
~mK
Level 7
Princeton, NJ
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Seasons compile but last condition not met
package com.codegym.task.task04.task0411; /* Seasons on Terra */ public class Solution { public static void main(String[] args) { checkSeason(12); checkSeason(4); checkSeason(7); checkSeason(10); } public static void checkSeason(int month) {
29.12.2019
907
views
3
comments
1
nan
Level 9
Lorient
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
can anybody find the pb plz?
can anybody see where is the pb?
01.01.2020
1015
views
1
comment
0
nan
Level 9
Lorient
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
don't understand why
can anyone help me plz?
01.01.2020
1051
views
1
comment
0
Oliver Lutz
Level 18
Budapest
Question about the task
Exception when working with arrays
Java Syntax
,
Level 9
,
Lesson 6
Resolved
Doesn't seem to verify
What is the problem ?
31.12.2019
1110
views
3
comments
0
SefoBe
Level 16
Paris
Question about the task
OOP: Cars
Java Core
,
Level 5
,
Lesson 2
Under discussion
Last requirement
All methods are public but the last requirement is not met
13.12.2019
1384
views
2
comments
0
Angeget
Level 22
Potsdam
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Resolved
do not know what i am doing wrong - please help
do not know what i am doing wrong
04.02.2019
1757
views
2
comments
0
nan
Level 9
Lorient
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
can some body help me plz?
package com.codegym.task.task08.task0817; import java.util.HashMap; import java.util.Map; import java.util.Iterator; import java.util.HashSet; /* We don't need repeats */ public class Solution { public static HashMap createMap() { //write your code here HashMap map = new Has
01.01.2020
1044
views
1
comment
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Tired of doing this..
Can anyone help me in knowing where I am going wrong
09.12.2019
1283
views
2
comments
0
Jason
Level 16
Question about the task
OOP: Arrange interfaces
Java Core
,
Level 5
,
Lesson 2
Resolved
The Clothes class must support the Movable interface requirement?
help please - what am I overlooking? I'm implementing the Moveable interface in the clothes class and implementing the isMovable() method...
01.01.2020
1014
views
2
comments
0
S V Aditya
Level 4
Delhi
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Numbers not in descending order
The checker says my numbers aren't in descending order even though they are. What's going on? Code below: public class Solution { public static int
01.01.2020
1178
views
1
comment
0
Cz Ferencz
Level 12
Bucharest
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Nested?
Shouldn't this be resolved with a nested loop? I for one did not have any ideas, for a nested loop, resolved with some help, but with 2 separate "for" loops. Anyone any hints?
06.12.2019
1491
views
4
comments
0
Cz Ferencz
Level 12
Bucharest
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Look back
Do the "Adding" exercise from Lesson 4 and it will help a lot with this one. I had problems with that one, but once i knew how to do that, this became way easier. :) Good luck!
12.12.2019
1079
views
1
comment
1
krystian
Level 9
Kozle
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Can anybody see a mistake here? Console based - piggy
public class Solution { public static void mai
31.12.2019
936
views
2
comments
0
Anthony Chalk
Level 30
London
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Really not sure what to do
Please help
01.11.2019
1408
views
6
comments
0
Yvonne
Level 7
Nairobi
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Having a problem with the last condition
Having a problem with the last condition I can't seem to figure out the problem. Please help!
11.12.2019
1433
views
4
comments
2
Alec Jensen
Level 5
Arlington
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Min of three still wont compute.
I have gone over so many different ideas to get this to work and I am just stuck. Can someone discuss with me the reasoning?
30.12.2019
1083
views
2
comments
0
~mK
Level 7
Princeton, NJ
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
This compiles fine, so what gives?
package com.codegym.task.task04.task0414; /* divisible by 400 = leap divisible by 4 = leap divisible by 100 = regular */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner kb = new Scanner(System.in);
30.12.2019
1306
views
1
comment
0
Ndatta Fall
Level 6
Bowie
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
can someone please tell me what im doing wrong? thanks in advance
the out put is always right with different test cases
30.12.2019
1227
views
1
comment
0
Show more
1
...
241
242
243
244
245
...
371
Please enable JavaScript to continue using this application.