Promotion
CodeGym University
Learning
Course
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
Peta Velin Zoran
Level 3
Timisoara
Question about the task
Choose healthy food! Choose fruit!
Java Syntax
,
Level 1
,
Lesson 8
Resolved
Server fails to see both strings
Lvl1 Lesson 8 "Choose healthy food! Choose fruit!" -> solution // System.out.print(apple+"\n"+ peach); // is not valid, server only sees one string, even if the result is correct and displayed on two lines.
12.05.2019
1164
views
2
comments
0
snow
Level 2
Varanasi
Question about the task
We don't need any extra lines
Java Syntax
,
Level 1
,
Lesson 7
Resolved
Line 16 ,how to get correct answer?
Java syntax Level 1 ,lesson 7
01.08.2018
1597
views
5
comments
0
Rajasekhar
Level 9
Palo Alto
Question about the task
Move one static modifier
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Please help
Can Any one can help me on this task please
02.03.2019
1632
views
4
comments
0
Denis
Level 25
Vancouver
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
Code works but doesn't pass the verification.
Code works but doesn't pass the verification for about 80% WFT ??? ^)
13.05.2019
1171
views
2
comments
0
Ash Ka
Level 13
Calgary
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
My code seems correct but it does not work
My code seems correct but it does not work
09.05.2019
1131
views
5
comments
0
MakinTosH
Level 20
Vilnius
Question about the task
UnsupportedFileName
Java Core
,
Level 8
,
Lesson 8
Under discussion
Can't check the string right...
Is something wrong with validating string or the exception is not thrown?
14.05.2019
1204
views
1
comment
0
sailaja
Level 3
Hyderabad
Under discussion
Write a function that computes the minimum of four numbers. The function min(a, b, c, d) should use (call) the function min(a, b)
package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { int minimum; int e= min(a,b); if(c<=d && c<=e) { minimum = c; }else {
14.05.2019
1272
views
2
comments
0
sailaja
Level 3
Hyderabad
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
I am not sure getting the typo error.Can someone help
package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { //write your code here int salary=a+1000; System.out.println("Your sal
11.05.2019
1215
views
4
comments
0
JavaJavaJava
Level 3
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
i need help to find the error
package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { int Salary = a; int NewSalary= a+1000; System.out.println("Your salary
06.05.2019
1702
views
7
comments
0
Vadym Opalenyk
Level 10
Vyshneve
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
How to make a task
How to make a task
13.05.2019
1526
views
5
comments
0
Husain Kothari
Level 20
Mumbai
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
It says if an empty string is entered into after the number, it should not lose the number. I am printing the number. What seems to be the problem?
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); HashMap map = new HashMap(); while(true) { String t = reader.readLine(); if(t
11.05.2019
1488
views
1
comment
0
Ryan
Level 7
edmonton
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
Failing verification despite getting correct results.
My own run tests pass but I keep failing in the verify. Can someone explain why?
13.05.2019
1319
views
3
comments
0
Johnson Jose
Level 10
Edinburgh
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
I am getting the correct output in IntelliJ but is failing the last condition here. Why?
Any help will be appreciated.
14.05.2019
1197
views
2
comments
0
Kian Sun
Level 5
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Returning values inside an if-else statement?
Hi! I initially tried solving this task by declaring an int variable "result", doing the comparisons and setting "result" equal to a/b/c depending on the comparison, and returning "result" at the end of the method. However, even though my code worked, the task wouldn't accept it. So I rewrote it to
24.04.2019
5408
views
5
comments
0
Philip Obiorah
Level 16
Port - Harcourt
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Not verifying... Pls what is wrong with this code
Please I can't figure out what is wrong with this code, and why it is not verifying.
09.02.2019
2088
views
3
comments
0
Shaun Forster
Level 14
United Kingdom
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
My solution is apparently correct but am curious.
While it says my solution is correct. Is the output supposed to be "window window window file file file" or is it supposed to be "window file window file window file"?
13.05.2019
1138
views
1
comment
0
Mukesh Vudayagiri
Level 10
Ferokh
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Why?
Why the code is working with .equals() method and why not with == operator. Please explain lengthily or provide some links. Thanks.
08.09.2018
1373
views
4
comments
0
Alex Balandinos
Level 18
Lusaka
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Program not displaying and not exiting
07.03.2019
1338
views
2
comments
0
IrnBruKing
Level 7
Falls Church
Under discussion
Can't use IntellJ on PC/Network
Hello all, I'm using Codegym at work for training, I'm now at the point where the course is asking to me install IntelliJ. However being at work I can't install other programmes, is there an in-browser version or another alternative I can use? Thanks.
13.05.2019
946
views
1
comment
0
Deepak Chandra
Level 16
Visakhapatnam
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Help please
Works fine in intellij an iam getting the answer correct but last condition is not satisfied.Please help. public class Solution { private static Scanner scanner = new Scanner(System.in); public static void main(String[] args) throws Exception { int N = scanner.nextInt(); int
10.05.2019
1566
views
8
comments
0
Vishwambhar Awagan
Level 8
Pune
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Running but still giving error
19.10.2018
1667
views
6
comments
0
Serg
Level 23
Tyumen
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Why a mistake?
Why does an error occur? package com.codegym.task.task05.task0507; import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { int n = 0; int count = 0; double
08.05.2019
1683
views
7
comments
0
Николай
Level 7
Mariupol'
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
everything works but the test fails. Why?
package com.codegym.task.task06.task0606; import java.io.*; /* Even and odd digits */ public class Solution { public static int even; public static int odd; public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStre
10.05.2019
1131
views
2
comments
0
Godwin
Level 10
Sango
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Resolved
shows timeout after validation, why?
After spending much time the program runs correctly but shows timeout after validation. no pass, no fail just timeout. How can i resolve this? Thanks
12.05.2019
1226
views
2
comments
0
nickyy
Level 18
Diou
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Using loops to solve the triangle problem
Hi everyone :-) Maybe I have over done it, I have not find a splice function in java... I am not sure why my code fails... It gives the correct answers when I try it. 5, 3, 2 => exists 0 for a side => exists 5, 2, 2 => exists
10.05.2019
3199
views
2
comments
0
hidden #10438825
Level 4
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Not sure what I am doing wrong.
Even just a hint would help. Thanks
10.05.2019
2347
views
3
comments
0
Connor
Level 8
Boston
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
I'm unsure about what I'm missing, I'm sure it's pretty simple but I'm BURNT from work this week.
It's been REALLY busy this week, but I need to get at LEAST two hours of practice in per day. I know once I get a job doing this it'll be at LEAST 8 hours a day coding. But right now on top of 50 hours a week at a restaurant :'0, and doing 8 hours a day on my two days off and being a dad. I love my
11.05.2019
1207
views
3
comments
0
errorCode
Level 9
Makati
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Resolved
My display is correct, still it does not met the requirements. Why?
My display is correct, still it does not met the requirements. Why?
14.09.2018
2099
views
4
comments
0
Don Boody
Level 8
Victor
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
IntelliJ Behavior
Anybody running into an issue where you ask the IntelliJ plugin to verify the task you're currently working on, but it verifies the task you had just previously worked on? It happens to me very frequently, regardless of the task or level. Anybody find a way to fix that?
16.02.2019
1302
views
5
comments
1
Sourav Kumar Rana
Level 9
Delhi
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
this worked but need improvement
package com.codegym.task.task06.task0617; /* Notepad for new ideas */ public class Solution { public static class Idea { public String getDescription() { return "sourav"; } } public static void printIdea(Idea idea) { System.out
17.01.2019
1478
views
6
comments
0
Show more
1
...
318
319
320
321
322
...
366
Please enable JavaScript to continue using this application.