CodeGym
Promotion
CodeGym University
Java FullStack
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
  • Prateek Parmar
    Level 4
    Chennai
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    Not getting the answer.Any hint?I"m unable to solve this question.Help please
    • 8/23/18
    • 2579views
    • 4comments
    0
  • Arko Sarkar
    Level 8
    Mumbai
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Solved few issues still getting errorProper output still!
    • 8/31/18
    • 1907views
    • 1comment
    0
  • Arko Sarkar
    Level 8
    Mumbai
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    What is wrong in this code?It's returning proper string twice in new lines, then what's the issue?
    • 8/31/18
    • 2110views
    • 1comment
    0
  • herish surendran
    Level 3
    Under discussion
    how to get a string from the user ?To get interger from the user we use "new Scanner(System.in).nextInt();". in the simiral way can we write "new Scanner(System.in).nextString();".
    • 8/30/18
    • 1795views
    • 1comment
    0
  • Priyanka
    Level 4
    Coimbatore
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    I'm still stuck with this. Help me :'(I altered the readLine(); and changed conquer to capture. It still doesnt work!
    • 8/25/18
    • 2603views
    • 2comments
    0
  • yogesh yadav
    Level 5
    bhilai
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    still i am getting "looks like you have forgot to add 1000" message public static void salary(int a) { int b = a+1000; System.out.println("Your salary is: "+b+" dollars per maonth"); }
    • 8/20/18
    • 1834views
    • 2comments
    0
  • Rahul kumar
    Level 4
    Delhi
    Question about the task Choose healthy food! Choose fruit!
    Java Syntax, Level 1, Lesson 8
    Archived
    help me!!! package com.codegym.task.task01.task0135; /* Two roads diverged in a yellow wood */ public class Solution { public static void main(String[] args) { System.out.println("Two roads diverged in a yellow wood,"); System.out.println("And sorry I could not travel both"); Sys
    • 8/17/18
    • 2397views
    • 4comments
    0
  • muskaan
    Level 1
    pune
    Question about the task Don't feel like it? Do it anyway.
    Java Syntax, Level 1, Lesson 8
    Resolved
    why I am I not able to get the last condition right plz help?...
    • 9/1/18
    • 2339views
    • 3comments
    0
  • muskaan
    Level 1
    pune
    Question about the task Choose healthy food! Choose fruit!
    Java Syntax, Level 1, Lesson 8
    Archived
    what do we have to print :/...I printed fourth line of the poem still don't satisfy last condition...:(
    • 8/31/18
    • 1827views
    • 2comments
    0
  • Sourav Gunner
    Level 19
    Birtamode
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Resolved
    still not right?? package com.codegym.task.task03.task0304; /* Task with percentages */ public class Solution { public static double addTenPercent(int i) { double c = ( i+((1/10)*i)); return c; } public static void main(String[] args) { System.out.println(addTenPercent(9));
    • 8/5/18
    • 2609views
    • 3comments
    0
  • herish surendran
    Level 3
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Resolved
    i am not able to find the solution.Help me outgdgsgsg
    • 9/1/18
    • 2134views
    • 2comments
    0
  • krushika patel
    Level 2
    mumbai
    Question about the task Choose healthy food! Choose fruit!
    Java Syntax, Level 1, Lesson 8
    Archived
    whats wrong?? System.out.println("Two roads diverged in a yellow wood,"); System.out.println("And sorry I could not travel both"); System.out.println("And be one traveler, long I stood"); System.out.println(" Robert Frost's The Road Not Taken. ");
    • 8/13/18
    • 2217views
    • 12comments
    0
  • MARIO
    Level 4
    Rosario
    Resolved
    John Squirrels told me: Please, leave your question in the help section and give me the link. I'll give it to the developers.Me: Hi! Please check line 16 in the example in this place: https://codegym.cc/groups/posts/34-methods. I think it's a mistake. I suppose you wanted to say System.out.println(canSecondTruckGo); Thank you. John: Hello! Thanks for reaching out. What exactly example have mistake? Can you indicate his n
    • 8/29/18
    • 1704views
    • 1comment
    0
  • Zeeshan
    Level 3
    Islamabad
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    Hint Formula is wrongTC = (celcius * 9/5) +32
    • 8/30/18
    • 1929views
    • 1comment
    0
  • MANISH KUMAR VERMA
    Level 3
    Jhansi
    Under discussion
    I am stuck at level 3rd, unable to move on, because the codegym plugin is not working... It shows an error "Codegym software is being updated" !!I am stuck at level 3rd, unable to move on, because the codegym plugin is not working... It shows an error "Codegym software is being updated" !!
    • 8/27/18
    • 1999views
    • 9comments
    0
  • Abhilash Ravichandran
    Level 10
    Kigali
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    How to accept use input as float?When i surfed for "how to get user data input as float?", I saw the Scanner class being used. Is there a way to get float input using only java.io.*;?
    • 8/30/18
    • 2383views
    • 2comments
    0
  • SAYAN SAMANTA
    Level 10
    Bangalore
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    how to overcome this problem? package com.codegym.task.task07.task0716; import java.util.ArrayList; /* R or L */ public class Solution { public static void main(String[] args) throws Exception { ArrayList<String> list = new ArrayList<String>(); list.add("rose"); //0 list.add("love");
    • 8/22/18
    • 2520views
    • 2comments
    0
  • Joyonta Saha
    Level 31
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Resolved
    Can anyone please give a demo what will be inputs and outputs because the conditions are bit confusing?Duplicating words 1. Read 10 words from the keyboard and add them to a list of strings. 2. The doubleValues method should duplicate words like this: alpha, beta, gamma, -> alpha, alpha, beta, beta, gamma, gamma. 3. Display the result, each value on a new line. Requirements: 1. Declare strin
    • 8/23/18
    • 2144views
    • 2comments
    0
  • Somya Gupta
    Level 4
    Vrindavan
    Under discussion
    level3 System.out.println(name+" "+" will recive"+" "+salary+" "+"in"+" "+number2+" "+"years.");
    • 8/28/18
    • 1717views
    • 1comment
    0
  • Arko Sarkar
    Level 8
    Mumbai
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Under discussion
    What is wrong here?In this code, when I'm using == it gives "Error converting a number to a string (invalid format)" But when .equals is used it's working! Then what is the difference here between them? I understand from the lesson that one is reference comparision while other is value, and .equals() will verify the
    • 8/29/18
    • 1907views
    • 2comments
    0
  • Collin M
    Level 22
    Germiston
    Question about the task Save the chess club
    Java Core, Level 1, Lesson 11
    Resolved
    What's wrong with this code?I think I did what is required but it seems i'm wrong but i can't figure out how.
    • 8/23/18
    • 1991views
    • 3comments
    0
  • Arko Sarkar
    Level 8
    Mumbai
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    What is the issue here?It's giving me output 5 when I enter 5,1,2,3,4,5 (where first 5 is the size) Please help!
    • 8/29/18
    • 2298views
    • 1comment
    0
  • Jeevan Singh
    Level 3
    Question about the task Crazy eights
    Java Syntax, Level 2, Lesson 5
    Under discussion
    i am frustated with thisn question package com.codegym.task.task02.task0212; /* Crazy eights */ public class Solution { public static void main(String[] args) { //write your code here Cat cat9 ; cat9=new Cat(); Cat cat8; cat8 = new Cat(); Cat cat7; cat7 = new Cat();
    • 8/22/18
    • 2137views
    • 3comments
    0
  • Pawan Harde
    Level 4
    Mumbai
    Question about the task Let's change the code
    Java Syntax, Level 1, Lesson 4
    Resolved
    second requirement not fullfiledstuck in the second reqirement....any recommandations..
    • 8/28/18
    • 1733views
    • 5comments
    0
  • Vikas
    Level 3
    Delhi
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Resolved
    Copying c:data.txt into c:result.txthow to run this code any1 can plz help me. it,s not working.
    • 8/2/18
    • 2759views
    • 12comments
    0
  • Ronaldo M
    Level 2
    Chennai
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Under discussion
    Where is my mistake?I tried it out by commenting a line . But still my output cant be varied without disturbuing the System.out.print
    • 8/23/18
    • 1819views
    • 2comments
    0
  • Pintu kumar
    Level 8
    motihari
    Under discussion
    varified correctly but error in running package com.codegym.task.task03.task0319; /* Predictions */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader p=new BufferedReader(new InputStreamReader(System.in)); String name = p.readLine(); int n
    • 8/24/18
    • 1891views
    • 2comments
    0
  • Shivani
    Level 3
    Rohtak
    Question about the task Uh... Happy New Year!
    Java Syntax, Level 1, Lesson 4
    Resolved
    line 14 & 15I am uncommenting the lines 14 & 15 for the expected results... but while verification it is breaching condition of not changing the code.... please help
    • 7/28/18
    • 3292views
    • 9comments
    3
  • Guillain Oreste Ntango
    Level 2
    Durban
    Question about the task Display the square of a number
    Java Syntax, Level 1, Lesson 3
    Under discussion
    need assistance! where is my mistakehi guys, where is the error?/
    • 8/27/18
    • 1711views
    • 2comments
    0
  • dummy account
    Level 2
    Makati
    Under discussion
    Task already been solved. I'm just curious to which of my two answer is the better solution. package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { salary(7000); } public static void salary(int a) { //write your code here //int pr = a + 1000; //System.out.println("Your salary
    • 8/26/18
    • 1850views
    • 1comment
    0
  • 1
  • ...
  • 371
  • 372
  • 373
  • 374
  • 375
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