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
ShirAz SiddiQui
Level 8
Karachi
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
I'm not able to understand this requirement. The min(a, b, c, d) method must use the min(a, b) method.
I'm not able to understand this requirement. The min(a, b, c, d) method must use the min(a, b) method. Can anyone help me understand this question?
12.01.2019
1305
views
2
comments
0
Hafsah Jilanee
Level 10
Karachi
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Program not working
Can someone please help me where I messed up? I followed the syntax mentioned but it's somehow not running.
12.01.2019
1229
views
5
comments
0
Laurap5
Level 9
Vilnius
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Please help:(
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String n1 = reader.readLine(); char ch = n1.charAt(0); int n = Character.getNumericValue(ch); if (n % 2 == 0){ even++; } else if (n % 2 ==1){ odd++
21.11.2018
1736
views
11
comments
1
Pawan Harde
Level 4
Mumbai
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
idk how this error is generated
error: incompatible types: int cannot be converted to boolean if(a=b=c){ ^
12.10.2018
1425
views
2
comments
0
Angeget
Level 22
Potsdam
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Resolved
The code is working, can somebody help me how to improve it please?
//first compare all three numbers if(number1 == number2 && number1 == number3 && number2 == number3) System.out.println(number1 + " " + number2 + " " + number3); else if (number2 == number3 ) System.out.println(number2 + " " + number3);
24.12.2018
1470
views
1
comment
0
Andrew
Level 29
Seattle
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
IDE not processing current task
IDE issue: Ever since the tasks started using keyboard input (Level 3 Lesson 8) I'm having trouble getting the test to run on the current task. When I select the Verify task button it just reruns test on the previous task. I've been restarting IntelliJ between each task to get it to move on to the
10.01.2019
1267
views
2
comments
0
Angeget
Level 22
Potsdam
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Don't know what is wrong hier - please i need Help
Don't know what is wrong hier - please i need Help
10.01.2019
1685
views
3
comments
0
Dino
Level 13
Zagreb
Under discussion
Can anyone tell me what doesn't work here? Thanks!
package com.codegym.task.task08.task0814; import java.util.HashSet; import java.util.Set; import java.util.Iterator; /* Greater than 10? You're not a good fit for us */ public class Solution { public static HashSet createSet() { // write your code here int[] a = {1, 2, 3, 4,
10.01.2019
949
views
1
comment
0
Ansh Rupani
Level 2
Lucknow
Question about the task
CodeGym. Learn once - use anywhere
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
HOW TO DO THIS PROGRAM PLZ EXPLAIN
I ANT UNDERSTAND HOW TO DO THIS PROGRAM . DO WE HAVE TO USE A LOOP HERE? HOW TO DO THIS PROGRAM PLZ EXPLAIN
28.12.2018
1265
views
2
comments
0
Talha Javed
Level 4
sialkot
Under discussion
unlock plz
how to unlock my level 2 lesson 1
13.09.2018
1024
views
2
comments
0
Rahul Sakhare
Level 5
Pune
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Written code using Scanner class but, still getting error..!!
import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner sc1 = new Scanner(System.in); String name = sc1.next(); int years = sc1.nextInt(); System.out.println(name + " will take over t
09.01.2019
1342
views
3
comments
0
Eduardo
Level 23
Coyoacan
Question about the task
Software update
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Why is the value null?
Hi, I run the program but it always shows a null value (like there where no families or values in the map). What am I missing? Thanks
09.01.2019
1105
views
2
comments
0
JGO
Level 4
San Jose
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Minimum
What mistake am I making in my code?
05.01.2019
1157
views
1
comment
0
Syed Tayyab ul Mazhar
Level 12
Karachi
Under discussion
Saved lessons.
How can I view all the lessons I have saved?
06.01.2019
1019
views
1
comment
0
Guadalupe Gagnon
Level 37
Tampa
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Resolved
Verification fails, code works
Any reason this fails? code finds words "horizontally, vertically, and diagonally, both forward and backward", even with much larger word searches. Still fails with no explanation as to why.
28.12.2018
1535
views
3
comments
0
ANUJA ARJUNAN
Level 5
Munnar
Question about the task
Red scare
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
WHAT IS THE PROBLEM IN THIS I COULDN'T UNDERSTAND ?
PLEASE HELP
09.01.2019
1474
views
2
comments
0
Yusra Ansari
Level 9
Karachi
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
please help
please help
16.09.2018
1449
views
6
comments
0
rsingh04
Level 6
Mumbai
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
What ?
out put is working , 10x10 of 8 but not varified. What is the issue here??
27.12.2018
1562
views
3
comments
0
WonderWoman
Level 8
Bangalore
Question about the task
Financial expectations
Java Syntax
,
Level 3
,
Lesson 12
Resolved
nDollars error
Not sure what the issue with is: it threw a huge error: int nDollars = Integer.parseInt(sDollars); I have hence commented it out and used the string sDollars to display n.
28.08.2018
1809
views
11
comments
0
Jacqueline Lim
Level 9
Makati
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Question
What is the main function of "return"?
10.09.2018
1648
views
11
comments
0
JGO
Level 4
San Jose
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Spacing of the numbers
need some help when it comes to properly spacing the numbers
08.01.2019
1658
views
3
comments
0
JGO
Level 4
San Jose
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
A bit of help
What am I not doing correct on line 14
08.01.2019
1491
views
1
comment
0
Gëzim Qaili
Level 6
Tetovo
Question about the task
Contract
Java Syntax
,
Level 1
,
Lesson 6
Resolved
The displayed text must match the task conditions
Can somebody tell me where the typo is? I copied everything from the conditions file.
04.01.2019
1042
views
4
comments
0
Jeff Jeffy
Level 15
Irvine
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Cant put periods, compiler issues. Help?
package com.codegym.task.task02.task0204; /* Family relations */ public class Solution { public static void main(String[] args) { //write your code here Man man=new Man(); Woman woman=new Woman(); Woman man.wife=new Woman(); Man woman.husband=new Man();
16.12.2018
1651
views
11
comments
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Cannot find what I am doing wrong
Keep getting the following error: Exception in thread "main" java.lang.NullPointerException at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838) at java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110) at java.base/java.lang.D
06.01.2019
3282
views
4
comments
0
Aissaoui Zoubeyr
Level 4
Reggane
Under discussion
what's the problem ?
everything is correct but still show this massage: Carefully check the displayed text. It looks like you made a typo.
07.01.2019
1153
views
2
comments
0
ANUJA ARJUNAN
Level 5
Munnar
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
what is the wrong here?
public class Solution { public static void main(String[] args) { int a = 5; int b = a * a; System.out.println(b); } public static int sqr(int a) { return a * a; } }
04.01.2019
1329
views
5
comments
0
Peerawas
Level 18
Question about the task
Shall we play?
Java Core
,
Level 6
,
Lesson 13
Under discussion
4th condition please help
Thanks :)
05.01.2019
1493
views
4
comments
0
Peerawas
Level 18
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Third requirement help
please help
25.12.2018
1940
views
6
comments
0
Christopher Wager
Level 12
Westland
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Resolved
I dont see whats wrong, output looks correct
I have tried several different ways to make this programs work. Error: The program should display a n x m rectangle made of eights. Be sure that you have displayed the correct number of rows. The rows are correct though when I run the program. Any advice?
18.10.2018
2231
views
6
comments
0
Show more
1
...
344
345
346
347
348
...
366
Please enable JavaScript to continue using this application.