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
  • Roy
    Level 22
    Bangkok
    Question about the task Reversing a file
    Java Core, Level 8, Lesson 5
    Resolved
    Doesn't validate ....Got almost a similar problem as a previous task in this level. Im using file input and file output streams, but it doesnt validate. What am i missing here??
    • 07.05.2019
    • 1317views
    • 4comments
    0
  • Kewal Gajbhiye
    Level 4
    Nagpur
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    It keeps saying "The displayed text must fully match the task conditions." please help..It keeps saying "The displayed text must fully match the task conditions." please help..
    • 03.05.2019
    • 1323views
    • 4comments
    0
  • Steven Mcilhone
    Level 17
    Belfast
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    what is going on, help me with this nightmare:(
    • 07.05.2019
    • 1206views
    • 1comment
    0
  • BOYINI SUSHMITHA RAJ
    Level 2
    SANGAREDDY
    Question about the task I think being a programmer is cool
    Java Syntax, Level 0, Lesson 3
    Resolved
    Will it get automcatically submitted after passing the test when verified?Will it get automcatically submitted after passing the test when verified?
    • 07.05.2019
    • 1204views
    • 2comments
    0
  • Kian Sun
    Level 5
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Resolved
    Found a working solution, but CodeGym hates it?Hi! This set of nested if-else statements is logically correct (I think), but my code fails every one of GodeGym's requirements, and I can't figure out why. Any thoughts?
    • 07.05.2019
    • 1721views
    • 2comments
    0
  • ASHUTOSH SHUKLA
    Level 3
    Katni
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Why last condition is not fulfilling? I don't know what is wrong ,last condition is showing error. public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { int b=a+1000; System. out. print("Your salary is: " +b+ " dallors per
    • 06.05.2019
    • 1241views
    • 3comments
    0
  • Ibrahim Ansari
    Level 5
    Mumbai
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Resolved
    challenge to find my mistake, why the hell is the task failing?? It shows 0 is not a positive or negative number.package com.codegym.task.task04.task0428; /* Positive number */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner input = new Scanner(System.in); int n
    • 07.04.2019
    • 1585views
    • 6comments
    0
  • Alex
    Level 24
    Sibiu
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    What's wrong with my code .. ? It says: "Be sure that you haven't mixed up the order of reading in the name and number from the keyboard. Check the conditions."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 { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    • 28.04.2019
    • 1567views
    • 3comments
    1
  • rey
    Level 6
    Makati
    Question about the task As simple as 2+2
    Java Syntax, Level 1, Lesson 8
    Resolved
    simple 2+2 not so simple at alli already put sum(2,2); and still not working omg why it works on others
    • 20.04.2019
    • 2130views
    • 8comments
    0
  • AISHWARYA ANIL BHOSALE
    Level 12
    Pune
    Question about the task Day of the week
    Java Syntax, Level 4, Lesson 4
    Resolved
    Problem with test caseI have switch case and it returning the day of the week right . then still case not passed.
    • 28.03.2019
    • 1654views
    • 2comments
    0
  • Bill Wu
    Level 29
    Wellington
    Question about the task Factorial
    Java Core, Level 5, Lesson 12
    Resolved
    cannot be verifiedI tested it with negative number, 0, and positive number less than 150, it worked fine.
    • 17.02.2019
    • 1785views
    • 4comments
    0
  • Sasha
    Level 20
    Novi Sad
    Question about the task Introducing properties
    Java Core, Level 10, Lesson 2
    Under discussion
    Can't spot the problem?Any help?
    • 04.03.2019
    • 1674views
    • 5comments
    1
  • sitedevelop
    Level 2
    Qaraghandy
    Under discussion
    About becoming junior developerHi, Is it possible to become junior developer remotely? Or get Java projects remotely as a freelancer?
    • 05.05.2019
    • 1181views
    • 1comment
    0
  • Aakash potepalli
    Level 22
    Bangalore
    Question about the task Janitorial services
    Java Core, Level 4, Lesson 8
    Resolved
    can anyone please help me with thisi am able to get the correct output , but not able pass the conditions
    • 06.04.2019
    • 1872views
    • 4comments
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task Method in a try-catch
    Java Syntax, Level 9, Lesson 11
    Resolved
    I am working as per conditions but why didn't verify ?It is also displaying as mentioned the output.What's wrong then ?
    • 26.04.2019
    • 1967views
    • 5comments
    0
  • Serhiy
    Level 9
    Rivne
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    The code is working, than what's wrong?It works as it should be (I've checked it with Eclipse), but at this web-page when I press to check the code the result is negative. What's wrong? The problem in my code or may be in your task?
    • 05.05.2019
    • 1363views
    • 2comments
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Resolved
    What am I missing ?package com.codegym.task.task03.task0303; /* Currency exchange */ public class Solution { public static void main(String[] args) { convertEurToUsd(5,13.6); convertEurToUsd(6,12.6);//write your code here } public static double convertEurToUsd(int eur, double exchangeR
    • 13.09.2018
    • 2005views
    • 4comments
    0
  • Beautiful Active Dedicated
    Level 4
    Arlington, TX
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    please helpcan some one explain this method a lil more meaning the order of operations.i didnt exactly get the: if(abs(10-a) < abs(10-b)) public static int abs(int a) { if (a < 0) { return -a; } else { return a; } } ------------------------------
    • 03.05.2019
    • 1179views
    • 1comment
    0
  • Jeff Jeffy
    Level 15
    Irvine
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Compiler Issuespackage com.codegym.task.task05.task0532; import java.io.*; /* Task about algorithms */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner in=new Scanner(System.in); int n=in.nextInt(); double[] g;
    • 05.05.2019
    • 1232views
    • 2comments
    0
  • dpp
    Level 8
    Colombo
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    What's wrong with this?The last condition is not satisfied.
    • 04.05.2019
    • 1157views
    • 3comments
    0
  • Connor
    Level 8
    Boston
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Why is this not working?Whenever I run the code it prints out the second half of the 20 numbers I entered and I'm sure that it copies the first half of them to the first smaller array. So I can't understand why I'm not reaching a few of the conditions. I wanted to do this problem a few different ways so that I just have a
    • 04.05.2019
    • 1905views
    • 5comments
    0
  • Rowell
    Level 3
    Makati
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Please helpReturn? How does return work? Is there something wrong with my codes? Please help
    • 03.05.2019
    • 1230views
    • 8comments
    0
  • stjepang
    Level 8
    Sveti Iija
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Problem !There are many ways, but what wrong with mine? anyone?
    • 03.05.2019
    • 1758views
    • 3comments
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Should I have to parse the Strings to Int ?It's very old procedural way though I tried this way. But the arrangement output is not wright
    • 03.05.2019
    • 1546views
    • 3comments
    0
  • hidden #10448869
    Level 2
    Question about the task No comments needed
    Java Syntax, Level 0, Lesson 8
    Resolved
    What is the problem?Hi, Anyone is having the same problem? The logic flow is right, but at the validation it fails.
    • 03.05.2019
    • 1087views
    • 4comments
    0
  • Николай
    Level 7
    Mariupol'
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    what is the problem in this code?package com.codegym.task.task04.task0436; /* Drawing a rectangle */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String s1 = reader.readLine(
    • 03.05.2019
    • 1539views
    • 2comments
    0
  • Jamp
    Level 7
    Coruscant
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    Running error!Task passes testing both here and in IDEA but it says "Error converting a string to a number (invalid format)." when i try to run it. Whats the problem??
    • 04.05.2019
    • 1369views
    • 2comments
    0
  • arafat
    Level 4
    Dhaka
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Resolved
    What's wrong in here????????how to increase the number by 10%???????
    • 08.02.2019
    • 1841views
    • 6comments
    0
  • madhushree
    Level 3
    Bangalore
    Question about the task The required number
    Java Syntax, Level 2, Lesson 5
    Under discussion
    please help me I am not able run this programclass Resource { int n; boolean val=false; synchronized int get() { while(!val) { try { wait(); } catch(Exception e) {} } System.out.println(“Consumer”+n); try { Thread.sleep(500); } catch(Exception e1) {} val=false; notify(); return n; } synchronized void put(int n) { while(val) { try { wait(); } c
    • 04.05.2019
    • 1122views
    • 1comment
    0
  • Mareike
    Level 4
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Hi, don't know what I've done wrong here.Hello everyone, I don't know how to get the last two conditions correct. Can somebody help me, please?
    • 28.04.2019
    • 1097views
    • 2comments
    0
  • 1
  • ...
  • 326
  • 327
  • 328
  • 329
  • 330
  • ...
  • 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