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
Jacob
Level 6
Warsaw
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
The min(a, b, c, d) method must use the min(a, b) method. How to?
Could you explain me that, please?
25.05.2019
2711
views
5
comments
0
David Lau
Level 9
Vechta
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
What am I missing?
I feel like the logic in my for loops isn't total crap (although please point out where it's wrong if it is), but clearly I've been staring at my solution for so long that I am missing something obvious. I noticed the issue before submitting the task, because there is no output whatsoever. any po
03.06.2019
1659
views
4
comments
0
Ankita Patra
Level 5
Bhubaneshwar
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Help me out !! Each time I'm running the program I'm getting the correct output,But it's asking to display the index during verification.
package com.codegym.task.task04.task0424; /* Three numbers */ import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner sc=new Scanner(System.in); int a=sc.nextInt()
08.06.2019
1509
views
2
comments
0
Daniel Buyinza
Level 13
Kampala
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
I don't know why my code is failing to pass Requirement 3
I have done all the tests I can think possible, and it's getting the required results.
08.06.2019
1460
views
2
comments
0
Sudhansu Shekhar
Level 6
Jaipur
Question about the task
Display today's date
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Please analyze and share the concerning issues as the code is unable to pass the compiler verification.
Please analyze and share the concerning issues as the code is unable to pass the compiler verification.
08.06.2019
1561
views
1
comment
0
Razvii
Level 16
Timișoara
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
It run OK but it not validate.. WHY??!
Why ??
02.06.2019
1380
views
3
comments
0
jothilearner
Level 7
Chennai
Question about the task
Product of 10 numbers
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Can anyone please help me ? what's the problem in my code?
package com.codegym.task.task03.task0308; /* Product of 10 numbers */ public class Solution { public static int product = 1 ; public static void main(String[] args) { //write your code here System.out.println(product(10)); } public static int product(int a){
02.06.2019
1644
views
6
comments
0
Darko Jakimovski
Level 18
Kriva Palanka
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Doesn't verify
but works just fine. It displays all the letters of the alphabet and the number of occurrences of each letter. Am I missing something? Guadalupe? :)
23.04.2019
1386
views
6
comments
0
Alfonso Cortes
Level 9
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Why is it failing
I insert numbers and get the correct output, would anyone tell me why I'm failing the last task?
07.06.2019
1085
views
1
comment
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Correct answer: d = 2.941
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Tried multiple times
Please help
06.06.2019
1078
views
3
comments
0
Klaus8
Level 25
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Under discussion
Works in idea, but doesn't on the site
Some advice would be appreciated
25.05.2019
1260
views
1
comment
0
RAGHU VAMSI
Level 17
HYDERABAD
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Import the classes!
We need to import the classes BufferedReader and InputStreamReader. I was about to visit this Help section and that thought struck me!!!
06.06.2019
1211
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
Compare modifiers
Java Multithreading
,
Level 1
,
Lesson 2
Under discussion
Please Help
23.04.2019
1299
views
1
comment
0
hidden #10441159
Level 16
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Stuck ... unable to meet last two condition
public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList<>(); for (int i = 0; i < 3; i++) {
06.06.2019
1428
views
4
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Under discussion
Help
Whats the Mistake
19.04.2019
1377
views
1
comment
0
parvinder
Level 20
Sacramento
Question about the task
TableAdapter
Java Core
,
Level 9
,
Lesson 3
Under discussion
Why I am getting this error?
package com.codegym.task.task19.task1901; /* TableAdapter */ public class Solution { public static void main(String[] args) { ATable aTable = new ATable() { @Override public String getCurrentUserName() { return "Amigo"; }
19.05.2019
1327
views
2
comments
0
Anuj Jaiswal
Level 10
Varanasi
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
It's working on my intellj.but not on this??What's wrong
Please help
06.06.2019
1013
views
2
comments
0
shaan mohd khan
Level 13
Jhansi
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Tried to do this with arrays.help me where i m making mistake.
package com.codegym.task.task06.task0606; import java.io.*; import java.util.Scanner; /* Even and odd digits */ public class Solution { public static int even; public static int odd; public static void main(String[] args) throws IOException { //write your code here
03.02.2019
1444
views
3
comments
0
Ben Cryer
Level 0
CA
Under discussion
Which is the best programming language in the world?
Which is the best programming language in the world? Swift Java Javascript Python PHP Angular Python Ruby C++ C# PHP Perl Rust iOS/Swift AI More click here
05.10.2018
1942
views
2
comments
0
John Michael Montuya
Level 10
Cebu City
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Code still won't compile, exception thrown :(
Hey guys, So I know my code is still pretty basic at this point, and I think I understand the program requirements, however I am a bit stumped about the code not compiling and instead throwing an exception that is foreign to me. It seems to point to line 21: if (name.isEmpty()) break; Now I did tr
06.06.2019
1231
views
2
comments
0
Duck Mac
Level 3
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
The last requirement is confusing :(
The output is right, but when i press vertify... WRONG. PLS let me know if anything is wrong with my program.
04.06.2019
1635
views
6
comments
2
Carrie Peng
Level 9
Memphis
Under discussion
Number of days in the year
import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner scanner = new Scanner(System.in); System.out.println("enter a number"); float num = scanner.nextFloat(); float min =
02.06.2019
1214
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
HELP PLS
int x = numbEr/100 + (number/10-(number/100) *10) + number % 10; Why this decision is correct if the answer is 60.06?
31.05.2019
1225
views
1
comment
0
kushal agrawal
Level 4
Chennai
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
please tell where did i go wrong??
?
06.06.2019
1054
views
3
comments
0
Anuj Jaiswal
Level 10
Varanasi
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
What's wrong in this??please help
public class Solution { public static void main(String[] args) throws Exception { //write your code here int b = 0, c = 0; ArrayList list = new ArrayList(); Scanner scan = new Scanner(System.in); for(int i = 0; i < 10; i++){ list.add(scan.n
06.06.2019
1070
views
2
comments
0
smile
Level 7
Tainan
Question about the task
Price of apples
Java Syntax
,
Level 4
,
Lesson 1
Resolved
"this" gets 150, but still failed, why?
Failed Requirements: 2. The Apple class's addPrice method should not display text on the screen. RECOMMENDATION FROM YOUR MENTOR Be sure that the Apple class has a public static void addPrice(int applePrice) method. 4. The main method should call the addPrice method only twice. RECOMMENDATION FROM
03.06.2019
1966
views
3
comments
0
Derek
Level 11
Apex, NC
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
concurrent modification error
Created an iterator, but still getting a concurrent modification error. What am I missing?
10.04.2019
1549
views
2
comments
0
kushal agrawal
Level 4
Chennai
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
it is showing that it should match the given task. where did i gone wrong?
package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String name = reader.
06.06.2019
1416
views
1
comment
0
Henk
Level 19
Pretoria
Question about the task
Splitting a file
Java Core
,
Level 8
,
Lesson 5
Resolved
Please help....I don't want to copy and paste others' solutions.
I think my code is sequentially correct, but I might misunderstand the reading of bytes ?
03.06.2019
1529
views
6
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Now where is the problem ?
Please help
04.06.2019
1515
views
5
comments
0
Show more
1
...
312
313
314
315
316
...
371
Please enable JavaScript to continue using this application.