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
  • Naina Sahu
    Level 4
    Mumbai
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    Helpwhat's the mistake in this code. Using while loop.
    • 04.02.2019
    • 1554views
    • 5comments
    0
  • Tapan Kumar
    Level 8
    Question about the task The basis of a wheel
    Java Syntax, Level 5, Lesson 9
    Under discussion
    why is it failed?Don't know
    • 05.02.2019
    • 1405views
    • 1comment
    0
  • Tapan Kumar
    Level 8
    Question about the task Walking in circles
    Java Syntax, Level 5, Lesson 9
    Under discussion
    Don't undrstand why it is failed ?Help
    • 05.02.2019
    • 1429views
    • 1comment
    0
  • Fadi AlSaidi
    Level 13
    Carrollton
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Resolved
    words in Ascending orderI am getting the required results per the example provided, but still failing the "The displayed words should be sorted in ascending order (using the provided isGreaterThan method)" !!! any words of advice?
    • 02.02.2019
    • 1661views
    • 2comments
    0
  • hidden #10424566
    Level 7
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Kindly please help me understand this challenge i have tried many methods yet nothing workspackage com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { int m3=min(a,b); int minValue; int m1; if(c
    • 04.02.2019
    • 1550views
    • 8comments
    0
  • Dmitriy Konoplev
    Level 11
    Khabarovsk
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    What about the space at the end?I solved this task this way: char[] list = s.toCharArray(); for (int i = 0; i < list.length; i++) { list[0] = Character.toUpperCase(list[0]); String n = String.valueOf(list[i]); if (n.equals(" ")) list[i+1] = Character.toU
    • 04.02.2019
    • 1220views
    • 3comments
    0
  • Aayush vyas
    Level 2
    Bangalore
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Under discussion
    solution of convert to celsius to farenheitpublic class Solution { public static void main(String[] args) { System.out.println(convertCelsiusToFahrenheit(41)); } public static double convertCelsiusToFahrenheit(int celsius) { //write your code here double cel=celsius; double Fahrenheit = cel * 9/5 + 3
    • 03.02.2019
    • 1490views
    • 1comment
    0
  • Jane
    Level 3
    Cape Town
    Resolved
    IntelliJ 2018.3.4 Homework Plugin Install HELP (Windows 10)Is there anyone who can help me figure out why I don't see the task options after I installed the plugin and restarted IJ? I don't see the 6 buttons, running version 2018.3.4. Running windows 10 64-bit can see here in the screenshot that the plugin is enabled: But on startup there are no 6 but
    • 31.01.2019
    • 1717views
    • 4comments
    0
  • bri
    Level 7
    Sevilla
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    It keeps telling me I have an issue in line 10 - not sure what the issue is.It keeps telling me I have an issue in line 10 - not sure what the issue is - I am using intelliJ
    • 03.02.2019
    • 1365views
    • 3comments
    0
  • shaan mohd khan
    Level 13
    Jhansi
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    code running right.but not verifying.help me asap public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int maximum=0; //write your code here ArrayList data=new ArrayList<>(); int i;int n=0;
    • 02.02.2019
    • 1576views
    • 5comments
    0
  • Usha Mathivanan
    Level 15
    CHENNAI
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    error : line 19 : 'else' without 'if' , Please help me to resolve this error... !!! package com.codegym.task.task04.task0409; /* Closest to 10 */ public class Solution { public static void main(String[] args) { displayClosestToTen(8, 11); displayClosestToTen(7, 14); } public static void displayClosestToTen(int a, int b) { int num1 = abs(10
    • 02.02.2019
    • 1463views
    • 3comments
    0
  • Balasca Andrei
    Level 7
    Iasi
    Question about the task Controlling body weight
    Java Syntax, Level 6, Lesson 8
    Resolved
    do not understandcan someone tell me if there is a problem in the code or it is a BUG?? thx
    • 03.02.2019
    • 1987views
    • 2comments
    0
  • Rishi Ghatta
    Level 2
    Miller Place
    Question about the task One cat isn't enough
    Java Syntax, Level 2, Lesson 3
    Under discussion
    I don't know how to complete this Help!!how do i do this at all
    • 06.11.2018
    • 1690views
    • 6comments
    0
  • Kshitij Pimple
    Level 2
    Mumbai
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    what will be the output and please explain also?Implement the print method In the print method, display the passed string 4 times. Each time, on a new line. Requirements: 1. The program should display text on the screen. 2. The main method should not call System.out.println or System.out.print. 3. The print method should display the text on the
    • 03.02.2019
    • 1697views
    • 3comments
    0
  • Dilip Sahu
    Level 2
    Mumbai
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    check please what's wrong?Last condition is not applying.
    • 31.01.2019
    • 1363views
    • 4comments
    0
  • lordheraldor
    Level 23
    Newark
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Resolved
    Produces the correct result but still getting an error.Did I make a typo or something or is my code have an issue that I'm oblivious to?
    • 28.01.2019
    • 1390views
    • 6comments
    0
  • Jeff Jeffy
    Level 15
    Irvine
    Question about the task Time conversion
    Java Syntax, Level 3, Lesson 5
    Resolved
    Why wont the compiler accept it?This is my code: package com.codegym.task.task03.task0312; /* Time conversion */ public class Solution { //write your code here public static int convertToSeconds(int hour){ return hour*60*60; } } public static void main(String[] args) { //write your code her
    • 21.01.2019
    • 2030views
    • 2comments
    0
  • Jeff Jeffy
    Level 15
    Irvine
    Resolved
    I do think my code should be returning the correct answer, but, it wont verify.:( Please help. All but the last conditions are met.
    • 07.01.2019
    • 1206views
    • 4comments
    0
  • ann
    Level 4
    Dusseldorf
    Question about the task Mercantile intentions
    Java Syntax, Level 3, Lesson 12
    Resolved
    My code has a typoIt doesn't fulfill some conditions: package com.codegym.task.task03.task0324; /* Mercantile intentions */ public class Solution { public static void main(String[] args) { //write your code here System.out.println(" \"I want a big salary, and that's why I'm studying Java\"");
    • 06.12.2018
    • 2071views
    • 4comments
    0
  • Solanki Dhruv
    Level 18
    Surat
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Under discussion
    Here everything is correct.SO where is the problem????
    • 03.12.2018
    • 1630views
    • 2comments
    1
  • Niket
    Level 8
    Kolkata
    Question about the task Display numbers in reverse order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Output is correct but task not verifyingI am getting an error the 2nd requirement is not being fulfilled (which is to read 10 integers from the keyboard) Whereas I am reading 10 integers from the keyboard and even the output is correct. Then why is this error showing?
    • 01.02.2019
    • 1940views
    • 4comments
    0
  • Sabine Meijran-Prins
    Level 7
    Enschede
    Question about the task Distance between two points
    Java Syntax, Level 6, Lesson 8
    Resolved
    Missing something..It seems that I am missing something..
    • 03.02.2019
    • 2841views
    • 2comments
    0
  • Kshitij Pimple
    Level 2
    Mumbai
    Resolved
    i am not understanding the output?System.out.print("Diego "); System.out.println("is the best!"); System.out.print("Amigo "); System.out.println("is the best!"); output: Diego is the best! Amigo is the best! First diego is printed then println command is used "is the best" it should be printed on new line ? output i think should
    • 01.02.2019
    • 1072views
    • 4comments
    0
  • Eduardo
    Level 23
    Coyoacan
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    Trying to find a way around the space at the endHi, I'm trying to get the last condition fullfilled but I'm not sure how to get rid of the last space after the last word. I tried adding this for (int i = 0; i
    • 01.02.2019
    • 1488views
    • 2comments
    0
  • Dilip Sahu
    Level 2
    Mumbai
    Question about the task I'm 15 again!
    Java Syntax, Level 1, Lesson 4
    Under discussion
    what's wrong with my code? The value assigned to the variable age must be 15.
    • 30.01.2019
    • 1277views
    • 4comments
    0
  • KryptoBlack
    Level 7
    Mumbai
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Two Different Problems With The Same Code BlockI am unable to understand this runtime error since I am only trying to insert 1 element in the list... java.lang.OutOfMemoryError: Solution.java, method fix, line: 35 But if I just change the order of input, the error vanishes... list.add("rose"); // 0 list.add("love"); // 1 list.add("lyre"); //
    • 30.11.2018
    • 1808views
    • 5comments
    1
  • Dmitriy Konoplev
    Level 11
    Khabarovsk
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Could anyone explain me where i make mistake?I made new HashMap, then in foreach I swapped values and keys and put them to new Map. Then I cleared Map and put there values and keys.
    • 01.02.2019
    • 1459views
    • 2comments
    0
  • krishnaprasanna doddapaneni
    Level 2
    Hyderabad
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    what is wrong in this codepublic class Solution { public static void main(String[] args) { print("Java is easy to learn!"); print("Java opens many opportunities!"); } public static void print(String s) { String a = "java is easy to learn!"; String b = "java opens many opportunitie
    • 01.02.2019
    • 1495views
    • 3comments
    0
  • yanzy050
    Level 4
    San Francisco
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Under discussion
    can someone give me a hint on how to display the result twice public static void main(String[] args) { //write your code here System.out.println(convertEurToUsd(45)); System.out.println(convertEurToUsd(34)); } public static double convertEurToUsd(int eur, double exchangeRate) { //write your code h
    • 23.08.2018
    • 1986views
    • 14comments
    0
  • Balen Asangbeh
    Level 23
    Douala
    Question about the task Flip the array
    Java Syntax, Level 7, Lesson 4
    Under discussion
    please what is wrong with the code
    • 01.02.2019
    • 1237views
    • 2comments
    0
  • 1
  • ...
  • 345
  • 346
  • 347
  • 348
  • 349
  • ...
  • 372
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 © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym