CodeGym
Promotion
CodeGym University
Learning
Course
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
All quests Java Syntax Java Core Java Multithreading Java Collections JSP & Servlets Java Syntax Pro Games
All levels Level 0 Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 Level 7 Level 8 Level 9 Level 10 Level 11 Level 12 Level 13 Level 14 Level 15 Level 16 Level 17 Level 18 Level 19 Level 20 Level 21 Level 22 Level 23 Level 24 Level 25 Level 26 Level 27 Level 28
Any status New Discussed Resolved Archived Duplicates
Hot Popular New Old
  • Arshad Khan
    Level 4
    Kolkata
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    what is wrong in this code public class Solution { public static int min(int a, int b, int c) { int x = 0; while ( a != 0 && b != 0 && c != 0 ) { a--; b--; c--; x++; } return x; //write your code here } public static
    • 29.08.2018
    • 1029views
    • 5comments
    0
  • muskaan
    Level 1
    pune
    Question about the task Uh... Happy New Year!
    Java Syntax, Level 1, Lesson 4
    Resolved
    i am not getting the space between new and year :(....
    • 30.08.2018
    • 1317views
    • 4comments
    0
  • Md Hasnat Al Mahmud
    Level 1
    Petaling jaya
    Under discussion
    i did it but still not ok.whats the problem? what's wrong with that code?
    • 04.09.2018
    • 914views
    • 1comment
    0
  • Rohit Kumar Mishra
    Level 3
    Gurgaon
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Under discussion
    why my code not summit? package com.codegym.task.task01.task0108; /* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { String s = "23"; int a = 3, b = 2; String four = "four"; String three = "3"; //System.out.print("two"); //System.out.pr
    • 04.09.2018
    • 964views
    • 3comments
    0
  • Mukesh Vudayagiri
    Level 10
    Ferokh
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Archived
    What's wrong.I have created an ArrayList() and 10 Cat objects. I have even added the objects to the ArrayList(). Yet, it is showing errors. Please, someone help.
    • 01.09.2018
    • 1574views
    • 3comments
    0
  • muskaan
    Level 1
    pune
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Archived
    idk what to do plz help!...
    • 04.09.2018
    • 998views
    • 1comment
    0
  • quality
    Level 1
    Question about the task As simple as 2+2
    Java Syntax, Level 1, Lesson 8
    Resolved
    i dont understand PASCAL anyone can explain it to me please?PLEASE!
    • 11.08.2018
    • 1034views
    • 3comments
    0
  • 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
    • 23.08.2018
    • 1629views
    • 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!
    • 31.08.2018
    • 1019views
    • 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?
    • 31.08.2018
    • 1325views
    • 1comment
    0
  • Srikanth Palle
    Level 1
    Hyderabad
    Question about the task A variable on our screen
    Java Syntax, Level 1, Lesson 3
    Under discussion
    how to assign a value to the variable? package com.codegym.task.task01.task0110; /* A variable on our screen */ public class Solution { public Static void main(String[] args) { String name = "SRK"; System.out.print("name"); } }
    • 01.09.2018
    • 2093views
    • 2comments
    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();".
    • 30.08.2018
    • 880views
    • 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!
    • 25.08.2018
    • 1292views
    • 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"); }
    • 20.08.2018
    • 997views
    • 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
    • 17.08.2018
    • 1095views
    • 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?...
    • 01.09.2018
    • 1261views
    • 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...:(
    • 31.08.2018
    • 1050views
    • 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));
    • 05.08.2018
    • 1602views
    • 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
    • 01.09.2018
    • 1122views
    • 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. ");
    • 13.08.2018
    • 1160views
    • 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
    • 29.08.2018
    • 889views
    • 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
    • 30.08.2018
    • 1009views
    • 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" !!
    • 27.08.2018
    • 1009views
    • 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.*;?
    • 30.08.2018
    • 1180views
    • 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");
    • 22.08.2018
    • 1402views
    • 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
    • 23.08.2018
    • 1185views
    • 2comments
    0
  • ErfePeter
    Level 0
    Dagupan
    Under discussion
    how do i set up an accounthow do i set up an account
    • 28.08.2018
    • 875views
    • 1comment
    0
  • Somya Gupta
    Level 4
    Vrindavan
    Under discussion
    level3 System.out.println(name+" "+" will recive"+" "+salary+" "+"in"+" "+number2+" "+"years.");
    • 28.08.2018
    • 878views
    • 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
    • 29.08.2018
    • 1101views
    • 2comments
    0
  • Collin M
    Level 22
    Jane Furse
    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.
    • 23.08.2018
    • 994views
    • 3comments
    0
  • 1
  • ...
  • 344
  • 345
  • 346
  • 347
  • 348
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
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 Java developer’s career.
Follow us
Interface language
Programmers Are Made, Not Born © 2022 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2022 CodeGym
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.