CodeGym
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
  • Denis
    Level 22
    Kharkiv
    Question about the task Find the bugs
    Java Core, Level 10, Lesson 10
    Under discussion
    Last condition need help guys
    • 6/30/19
    • 1296views
    • 1comment
    0
  • Deep Maheshwari
    Level 10
    Nanded
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Resolved
    Why is it not verifying inspite of correct result and code...?I think it's all correct but if anyone has suggestions please help!!!
    • 6/22/19
    • 1794views
    • 8comments
    0
  • Mikayla Pace
    Level 27
    Salt Lake City
    Question about the task The isomorphs are coming
    Java Core, Level 2, Lesson 12
    Under discussion
    I get the correct output but it doesn't verifyI'm pretty sure I'm overthinking this problem and there is an easier way to do this, but why isn't my code verifying? I get the correct output.
    • 7/26/19
    • 1233views
    • 1comment
    0
  • Mohamed Afify
    Level 12
    cairo
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    failed to pass testingthe program works perfect but the task failed idk why
    • 7/25/19
    • 1138views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Synchronized methods
    Java Core, Level 7, Lesson 10
    Under discussion
    How i can do thisHelp pls
    • 6/28/19
    • 1385views
    • 1comment
    0
  • Lukas Smetana
    Level 10
    London
    Question about the task Labels and numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Is this good solution? package com.codegym.task.task04.task0426; /* Labels and numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    • 7/22/19
    • 1532views
    • 3comments
    0
  • Sergey Morozov
    Level 5
    Helsinki
    Question about the task Product of 10 numbers
    Java Syntax, Level 3, Lesson 4
    Resolved
    The answer is correct, but the task is failed. Do you have any ideas, why it's failed?
    • 5/29/19
    • 2006views
    • 8comments
    2
  • JeRiF94
    Level 22
    Baku
    Question about the task Yet another adapter
    Java Core, Level 9, Lesson 3
    Under discussion
    Guys, something wrongWhat actually wrong ?
    • 7/25/19
    • 1468views
    • 1comment
    0
  • Jyothi
    Level 20
    Question about the task Words in reverse
    Java Syntax, Level 7, Lesson 9
    Resolved
    Verify failing for removing 3rd item and displaying items on the screen. Please advise.Screen output from the program (System.out) Stays Spain Rain The Input data (System.in) The Rain In Spain Stays
    • 12/27/18
    • 1671views
    • 5comments
    0
  • Ashwin
    Level 6
    Bangalore
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    I do not know what is wrong here. it is working perfectly if i am running without verification but if i try to verify, it shows correct for leap year, but incorrect for normal year.I do not know what is wrong here. it is working perfectly if i am running without verification but if i try to verify, it shows correct for leap year, but incorrect for normal year. here is the code. import java.io.*; public class Solution { public static void main(String[] args) throws Except
    • 3/12/19
    • 1859views
    • 3comments
    0
  • hidden #10462592
    Level 8
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Why the last 2 conditions are not being satisfied? Although the code runs well and it gives out the maximum of the 4 numbers the last 2 conditions are not being satisfied. help!
    • 7/25/19
    • 1141views
    • 2comments
    0
  • GCPix
    Level 15
    Glasgow
    Question about the task Triangle of eights
    Java Syntax, Level 4, Lesson 13
    Resolved
    Keep failing on the third requirementWhen I type it into eclipse I get the output I expect. I have tried it with both String 8 and int 8, just in case, and I fails every time. I think i have gone code blind, what am I missing? Thanks in advance G
    • 6/18/19
    • 1518views
    • 4comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Transactionality
    Java Core, Level 7, Lesson 10
    Under discussion
    What i must be changelast condition pls
    • 6/28/19
    • 1125views
    • 1comment
    0
  • karina abad
    Level 11
    Daly City
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Why are my outputs 0's?Can't seem to figure out why my secondArray's full of 0's
    • 7/24/19
    • 1156views
    • 1comment
    0
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    please???please???
    • 7/24/19
    • 1469views
    • 3comments
    0
  • Gábor
    Level 14
    Budapest
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Task is comply and work but one Requirements did not pass... Failed task --> The program should display the numbers in descending order. But it is working as it should, tried it with the couple of numbers..
    • 7/25/19
    • 1364views
    • 3comments
    0
  • Bhavishya Samriya
    Level 8
    Jaipur
    Question about the task HashMap of 10 pairs
    Java Syntax, Level 8, Lesson 3
    Under discussion
    what the last two conditions aren't verified what the last two conditions aren't verified
    • 7/22/19
    • 1237views
    • 2comments
    1
  • hidden #10462592
    Level 8
    Question about the task Day of the week
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Help!The code is correct and It gives the solution too, but I am not able to satisfy all the conditions. why?
    • 7/16/19
    • 1465views
    • 8comments
    0
  • Deepak Chandra
    Level 16
    Visakhapatnam
    Question about the task Safe retrieval from a list
    Java Syntax, Level 10, Lesson 11
    Under discussion
    I need help to improve My codeI need help to improve my code public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList<Integer> list = new ArrayList<Integer>(); for (int i = 0;
    • 6/25/19
    • 1388views
    • 1comment
    0
  • Serhii Yevtushok
    Level 17
    Kharkov
    Question about the task Safe retrieval from a list
    Java Syntax, Level 10, Lesson 11
    Under discussion
    What's wrong here?For number from 1 to 20 Output is: 7 7 9
    • 3/20/19
    • 1683views
    • 3comments
    0
  • Gábor
    Level 14
    Budapest
    Question about the task Minimum of two numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    and now what ??? the code is functioning perfectly, but still falling to pass the last Requirement. But when I run it with the equal number it showing both of them.
    • 7/25/19
    • 1878views
    • 2comments
    0
  • Jeevan Singh
    Level 3
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    i AM STUCK IN THIS PROBLEM'import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String sAge = reader.readLine(); int nAge = Integer.parseInt(sAge); String name = reade
    • 9/21/18
    • 2409views
    • 3comments
    0
  • Anusha Govindarajan
    Level 7
    Amsterdam
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    I get error saying infinite loop.Please help.package com.codegym.task.task05.task0507; /* Arithmetic mean */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int
    • 7/24/19
    • 1260views
    • 2comments
    0
  • Jay
    Level 17
    Washington
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Failing on last requirementI've tried using an iterator as well as making a copy of the set, iterating through the original and removing from the copy and then returning the copy: nothing works. Please assist.
    • 7/24/19
    • 1182views
    • 4comments
    0
  • Anita Pal
    Level 14
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Resolved
    plzz help me in finding error in my code package com.codegym.task.task04.task0417; /* Do we have a pair? */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader br= new BufferedReader(new InputStreamReader(System.in)); String s1 = br.readLine();
    • 7/23/19
    • 1676views
    • 2comments
    0
  • Jackgai
    Level 26
    Tokyo
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Archived
    Too many lines errorThe forth requirement can't be passed. The error is "too many lines", but I checked the output on eclipse. The output is the same as Example output. I hope someone could give me a help. Appreciate it.
    • 7/8/19
    • 1648views
    • 2comments
    1
  • Rupa Joshi
    Level 29
    Tokyo
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Under discussion
    Can anyone help me with what is expected?I have tried many different things but it doesn't seem to be working. The final code may not be the perfect but as I said I tried many things and finally asking for the help. May be i am not been able to understand what's actually expected. Anyone can help me with verification pass.
    • 7/18/19
    • 1704views
    • 1comment
    0
  • Yuchen
    Level 17
    Los Angeles
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Under discussion
    PLS tell me what should I do? keep telling me variable expected.please help me to figure out why the compiler tells me variable expected. The error line is line 53, 54, and 63, 64. I am very confused that I did this algorithms before in pervious tasks, and it passed perfectly. But in this task, I don't know why it keep telling me variable expected. thank you.
    • 7/19/19
    • 1210views
    • 1comment
    0
  • Raisa Toscano
    Level 1
    Tepic
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Resolved
    why does it shows the numbers in decreasing order but still the answer is incorrect?
    • 12/28/18
    • 2118views
    • 3comments
    1
  • hidden #10480161
    Level 8
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Can't find the error public class Solution { public static void main(String[] args) throws IOException { //write your code here ArrayList strings = new ArrayList(); BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); for (int i = 0; i < 10; i++) {
    • 7/10/19
    • 1387views
    • 2comments
    1
  • 1
  • ...
  • 296
  • 297
  • 298
  • 299
  • 300
  • ...
  • 374
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym