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
  • 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?
    • 1/12/19
    • 1694views
    • 2comments
    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 workingCan someone please help me where I messed up? I followed the syntax mentioned but it's somehow not running.
    • 1/12/19
    • 1629views
    • 5comments
    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++
    • 11/21/18
    • 2174views
    • 11comments
    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 generatederror: incompatible types: int cannot be converted to boolean if(a=b=c){ ^
    • 10/12/18
    • 1731views
    • 2comments
    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);
    • 12/24/18
    • 1748views
    • 1comment
    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 taskIDE 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
    • 1/10/19
    • 1642views
    • 2comments
    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 HelpDon't know what is wrong hier - please i need Help
    • 1/10/19
    • 2263views
    • 3comments
    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,
    • 1/10/19
    • 1284views
    • 1comment
    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 EXPLAINI ANT UNDERSTAND HOW TO DO THIS PROGRAM . DO WE HAVE TO USE A LOOP HERE? HOW TO DO THIS PROGRAM PLZ EXPLAIN
    • 12/28/18
    • 1596views
    • 2comments
    0
  • Talha Javed
    Level 4
    sialkot
    Under discussion
    unlock plzhow to unlock my level 2 lesson 1
    • 9/13/18
    • 1287views
    • 2comments
    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
    • 1/9/19
    • 1974views
    • 3comments
    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
    • 1/9/19
    • 1423views
    • 2comments
    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?
    • 1/5/19
    • 1457views
    • 1comment
    0
  • Syed Tayyab ul Mazhar
    Level 12
    Karachi
    Under discussion
    Saved lessons.How can I view all the lessons I have saved?
    • 1/6/19
    • 1284views
    • 1comment
    0
  • Guadalupe Gagnon
    Level 37
    Tampa
    Question about the task Word search
    Java Core, Level 10, Lesson 10
    Resolved
    Verification fails, code worksAny 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.
    • 12/28/18
    • 1855views
    • 3comments
    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
    • 1/9/19
    • 1742views
    • 2comments
    0
  • Yusra Ansari
    Level 9
    Karachi
    Question about the task Drawing lines
    Java Syntax, Level 4, Lesson 13
    Under discussion
    please helpplease help
    • 9/16/18
    • 1886views
    • 6comments
    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??
    • 12/27/18
    • 1913views
    • 3comments
    0
  • WonderWoman
    Level 8
    Bangalore
    Question about the task Financial expectations
    Java Syntax, Level 3, Lesson 12
    Resolved
    nDollars errorNot 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.
    • 8/28/18
    • 2108views
    • 11comments
    0
  • Jacqueline Lim
    Level 9
    Makati
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    QuestionWhat is the main function of "return"?
    • 9/10/18
    • 2192views
    • 11comments
    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
    • 1/8/19
    • 1980views
    • 3comments
    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
    • 1/8/19
    • 1797views
    • 1comment
    0
  • hidden #10418787
    Level 6
    Question about the task Contract
    Java Syntax, Level 1, Lesson 6
    Resolved
    The displayed text must match the task conditionsCan somebody tell me where the typo is? I copied everything from the conditions file.
    • 1/4/19
    • 1354views
    • 4comments
    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();
    • 12/16/18
    • 2149views
    • 11comments
    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 wrongKeep 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
    • 1/6/19
    • 3757views
    • 4comments
    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.
    • 1/7/19
    • 1491views
    • 2comments
    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; } }
    • 1/4/19
    • 1740views
    • 5comments
    0
  • Peerawas
    Level 18
    Question about the task Shall we play?
    Java Core, Level 6, Lesson 13
    Under discussion
    4th condition please helpThanks :)
    • 1/5/19
    • 1853views
    • 4comments
    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 helpplease help
    • 12/25/18
    • 2306views
    • 6comments
    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 correctI 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?
    • 10/18/18
    • 2618views
    • 6comments
    0
  • 1
  • ...
  • 352
  • 353
  • 354
  • 355
  • 356
  • ...
  • 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