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
  • George Leonardo
    Level 9
    Bucharest
    Question about the task Snake (Part 10/20)
    Games, Level 0, Lesson 1
    Under discussion
    What is the problem with the draw method?I am struggling to find the bugs inside the method draw.Can anybody help me? Is the logic behind the implementation wrong or is it just a little bug that i do not know how to find? Thanks in advance!
    • 12/25/19
    • 1550views
    • 1comment
    0
  • Jennifer Boutell
    Level 7
    Tacoma
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Works but fails testingHmmm. My code works in all cases as far as I can see in testing, but it keeps failing the last requirement. Any idea?
    • 12/25/19
    • 1106views
    • 1comment
    0
  • yongen charleslim
    Level 10
    Singapore
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved
    what's wrong with my code?zzz
    • 12/23/19
    • 1263views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Fixing bugs
    Java Core, Level 4, Lesson 8
    Under discussion
    Help me pls with thisgive me pls the solution
    • 6/25/19
    • 1714views
    • 6comments
    0
  • Rafał Szrajnert
    Level 7
    Poddebice
    Question about the task Three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    entering nmbers workhi, when I try differen combinations console prints good answers but it is not letting me pass, any idea?
    • 12/25/19
    • 1025views
    • 2comments
    0
  • Ronaldo M
    Level 2
    Chennai
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Why does the last test case fail? 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 b; b=a+1000; System.out.println("Your Salary is: "+b+" d
    • 7/24/19
    • 1290views
    • 2comments
    0
  • Steve
    Level 9
    Denver
    Question about the task Family census
    Java Syntax, Level 7, Lesson 12
    Under discussion
    This is funny,, I passed the requirements with the below for loop,,, that does not work,, any thoughts??Here is the for loop,, I hope this is not considering attaching a solution to the question? Thank You! Human h1 = new Human("GrandFather1",true,23 ); Human h2 = new Human("GrandMother1",false,20); Human h3 = new Human("GrandFather2",false,12); Human h4 = new Human("GrandMot
    • 7/25/19
    • 1497views
    • 2comments
    0
  • yi
    Level 20
    Toronto
    Question about the task All that moves
    Java Core, Level 3, Lesson 2
    Under discussion
    Please help me with this oneCan someone tell me how to return a double ? Thx
    • 12/15/19
    • 1578views
    • 4comments
    0
  • Alec Jensen
    Level 5
    Arlington
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Please explain what is wrong in this codeI am using or in my code but not returning anything but errors. Can anybody explain?
    • 12/20/19
    • 1562views
    • 3comments
    0
  • Seán de Roo
    Level 4
    Utrecht
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    How come I get an error on the third item?Please someone help me
    • 12/24/19
    • 1328views
    • 1comment
    0
  • JaclynTJY
    Level 4
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Are there anyways to make this work?I know there's another way to do this, but I wannna try to make this work. Thanks in advance
    • 12/15/19
    • 1326views
    • 2comments
    0
  • Rani Rauniyar
    Level 3
    Noida
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    where ' ; ' is expected. Please help me to know what's wrong in my program and with full details please THIS IS MY PROGRAM WHAT I HAVE WRITTEN. package com.codegym.task.task02.task0204;
    • 12/20/19
    • 1533views
    • 8comments
    0
  • Richard Melton
    Level 7
    St Louis
    Question about the task Labels and numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    Hey anybody have any suggestions? Is my logic off or my syntax? I am stumped.package com.codegym.task.task04.task0426; /* Labels and numbers */ 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 num = scan.nextInt(); String a
    • 12/16/19
    • 2551views
    • 8comments
    1
  • Kirsten de Wit
    Level 17
    Cape Town
    Question about the task Display today's date
    Java Syntax, Level 5, Lesson 12
    Resolved
    I am getting the correct date, but it is not accepted.I am getting the correct date, but it is not accepted.
    • 10/31/19
    • 2003views
    • 2comments
    1
  • Sven
    Level 19
    Hanover
    Question about the task Picking out numbers
    Java Core, Level 9, Lesson 5
    Resolved
    TimeOut Error If I test this with a basic tesfile it seems to work just fine. But for some reason there is something wrong when verifying and the programming won't finish. Any ideas?
    • 10/25/19
    • 1681views
    • 6comments
    0
  • Alan Heffernan
    Level 17
    Anwoth
    Question about the task What's today's date?
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Help with fixing final outputIf i input the Date "2013-08-18" the output is "DEC 31, 2013", after doing some debugging the error is happening on line 24 where i parse the string to a date variable. Any idea why this is happening?
    • 5/12/19
    • 1745views
    • 4comments
    1
  • waseem khan
    Level 13
    Rawalpindi
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    please help ?what's wrong with this solution i tried many inputs program gives correct output in each case but still last condition fails to satisfy ?
    • 8/21/19
    • 1174views
    • 2comments
    0
  • Davedabull
    Level 22
    New York City
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Better way to print? package com.codegym.task.task08.task0824; /* Make a family */ import java.util.*; public class Solution { public static void main(String[] args) { //write your code here Human daughter = new Human("Lili",false,2); Human son = new Human("Xing",true,1); Human
    • 12/22/19
    • 1387views
    • 2comments
    0
  • Noam Tam
    Level 8
    Haifa
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Please help me to understand what is wrong herePlease help me to understand what is wrong here
    • 12/22/19
    • 1289views
    • 1comment
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Still don't get this!!!error: The min method must return the minimum of numbers a, b and c. My code: package com.codegym.task.task02.task0216; /* Minimum of three numbers
    • 12/11/19
    • 1564views
    • 5comments
    0
  • Jeremy Simons
    Level 7
    Peterborough, Cambridgeshire, UK
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Under discussion
    please adviseoriginally I wrote this to return the maximum positive integer. I read somewhere that the condition for the largest integer is only concerned with the size of the integer regardless of if it's positive or negative?
    • 12/9/19
    • 1359views
    • 7comments
    0
  • Maja Mal
    Level 4
    Sanok
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Wrong last condition.hi! any hint for me about wrong last condition, please? :)
    • 12/17/19
    • 1680views
    • 2comments
    0
  • Maja Mal
    Level 4
    Sanok
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Under discussion
    Return - why here?Hi! Why do we need the "return" command here? We want to have euro to usd exchange - that was the task, so we do not need to return from usd to euro.
    • 12/17/19
    • 1520views
    • 3comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Resolved
    Not verifyingThe mentor recommendation is: If an empty string is entered after a number, then that number should also be displayed (it must not be lost). Except it is currently doing that. I entered: 1 a 2 b 3 c 4 And the output was: 1 a 2 b 3 c 4
    • 11/26/19
    • 1625views
    • 11comments
    0
  • Christopher
    Level 10
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    I have tested this in another IDE and it works perfectly, but fails test 2So, I've done this in an IDE on my tablet and this runs perfectly and removes the word rose, leaves alone the word lyre, and doubles the word love. However, when I submit it for grading it says condition 2 (remove words with the letter r that do not have the letter l) fails. Any thoughts on how to f
    • 12/21/19
    • 1043views
    • 0comments
    0
  • Rafał Szrajnert
    Level 7
    Poddebice
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    2nd sentenceHi, Iam checking character by vharacter but to me console shows it is good, mayybe some typo I can not find? but I copied text from exercise... do you know why not passing?
    • 12/20/19
    • 1511views
    • 3comments
    0
  • Sam
    Level 13
    ELIZABETH
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Resolved
    I honestly don't understand what the question is asking. can someone explain what the task is?my solution is a mess, just need someone to explain to me what is required of me.
    • 12/20/19
    • 1648views
    • 2comments
    0
  • Joao Lima
    Level 14
    Gdansk
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    Can you please check what is wrong with my code?My code is working correctly, but the requirements are not checked. Can you please check what is wrong in my code?
    • 12/20/19
    • 1400views
    • 2comments
    0
  • Rafael Gomes
    Level 8
    Resolved
    Game doesn't work at all after subscriptionHey, since I finished the level 3, the game doesn't work at all. I made a premium subscription last week. I tried to use ItelliJ but the new tasks are not working.
    • 12/16/19
    • 937views
    • 1comment
    0
  • Sam
    Level 13
    ELIZABETH
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    a little helpnot sure whats wrong with the code.
    • 11/16/19
    • 1370views
    • 2comments
    0
  • 1
  • ...
  • 246
  • 247
  • 248
  • 249
  • 250
  • ...
  • 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