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
  • Harika Yantrapragada
    Level 7
    Hyderabad
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Resolved
    may I know what's wrong with this codeIt's giving correct output while running in eclipse
    • 08.11.2018
    • 1894views
    • 5comments
    0
  • Nirake_
    Level 8
    Mumbai
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Under discussion
    "how do I rectify it ..I am not able to do it.
    • 08.11.2018
    • 1286views
    • 1comment
    0
  • Sharmila
    Level 1
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Under discussion
    i want to complete the task.. please help me/* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { /* on screen to display the following line */ int a = 2; int b = 3; int c = a+b; String s1 = " plus "; String s2 = " is equal to "; // System.out.print("2 plus 3 is equal to to 5");
    • 08.11.2018
    • 1659views
    • 1comment
    0
  • Aswini
    Level 4
    Chennai
    Question about the task My young friend
    Java Syntax, Level 0, Lesson 4
    Under discussion
    Try itpublic class Solution { public static void main(String[] args) { //write your code here int a= 3126; int b= a-8; System.out.println("my friend's birth year" + b); } }
    • 08.11.2018
    • 2254views
    • 1comment
    0
  • Akash Sharma
    Level 5
    Delhi
    Question about the task 18+
    Java Syntax, Level 4, Lesson 6
    Under discussion
    what is the errorpackage com.codegym.task.task04.task0422; /* 18+ */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader buffer = new BufferedReader(new InputStreamReader (System.in)); String a = buffer.readLine(); String
    • 29.10.2018
    • 1586views
    • 5comments
    0
  • hidden #10362262
    Level 9
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    I passed the task, but it won't run in IntelliJ What do I need to do to fix the error message at the bottom in IntelliJ? It says: Error:Cannot run program "C:\Program Files\Java\jdk-10.0.1\bin\java.exe" (in directory "C:\Users\Thomas Yates\.IdeaIC2018.1\system\compile-server"): CreateProcess error=2, The system cannot find the file specified
    • 08.11.2018
    • 1602views
    • 1comment
    0
  • Fadi AlSaidi
    Level 13
    Carrollton
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    correct output, but can't verifyI tried all kind of real numbers and the program works correctly.. can any one spot an issue?
    • 07.11.2018
    • 1609views
    • 2comments
    0
  • joe
    Level 3
    Kigali
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Can't resolve typoWhat's wrong with this picture?
    • 07.11.2018
    • 1606views
    • 3comments
    0
  • Abhilash Ravichandran
    Level 10
    Kigali
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Compilation errorcannot find symbol symbol: variable fileInputStream location: class com.codegym.task.task09.task0929.Solution: Solution.java, line: 32, column: 16 The line that initializes fileInputStream, line 17 is not being executed.
    • 07.11.2018
    • 1702views
    • 1comment
    0
  • Abhilash Ravichandran
    Level 10
    Kigali
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Resolved
    Not able to satisfy the requirements but able to solve the problemI have tried various inputs and got the corresponding results. Not satisfying requirements 2, 3 and 5 each time. The while loop is used to find the number of digits. n/(int)Math.pow(10,j) extracts each digit. Hints on other ways would be helpful.
    • 03.09.2018
    • 1621views
    • 1comment
    0
  • Arvind Prakhar
    Level 7
    Dhanbad
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    code problem only the last condtion is not able to get fullfilled !! Plz help
    • 04.11.2018
    • 1568views
    • 3comments
    0
  • Syed Sarosh Farrukh
    Level 7
    Lahore
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    What is The issue in my CODE :/HELP
    • 04.11.2018
    • 1718views
    • 6comments
    0
  • med
    Level 1
    Rabat
    Question about the task I think being a programmer is cool
    Java Syntax, Level 0, Lesson 3
    Under discussion
    How to unlock levels how to unlock levels
    • 04.11.2018
    • 1494views
    • 2comments
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Ascending numbers
    Java Syntax, Level 6, Lesson 11
    Resolved
    i need helpplease check my code what is wrong please give me some information about the code
    • 04.11.2018
    • 2863views
    • 1comment
    0
  • hidden #10362262
    Level 9
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    "unreported exception error" - help me understand thispackage com.codegym.task.task04.task0416; /* Crossing the road blindly */ import java.io.*; public class Solution { public static void main(String[] args){ double minutesTyped = getUserInput(); lightColor(minutesTyped); } public static double getUserInput()
    • 04.11.2018
    • 1552views
    • 4comments
    0
  • Premachandran
    Level 35
    Ernakulam
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Under discussion
    what is wrong in my code pl help InputStream fileInputStream = getInputStream(sourceFileName); OutputStream fileOutputStream = getOutputStream(destinationFileName); byte[] buffer = new byte[1024]; int length; while ((length = fileInputStream.read(buffer)) > 0) { fileOutputStream.writ
    • 04.11.2018
    • 1559views
    • 1comment
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    i need helpplease check my code,what's wrong in my code ,last 2 conditions not satisfied
    • 03.11.2018
    • 1398views
    • 1comment
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Calculate the circumference of a circle
    Java Syntax, Level 2, Lesson 2
    Resolved
    How do I do It..??package com.codegym.task.task01.task0129; /* Calculate the circumference of a circle */ public class Solution { public static void main(String[] args) { printCircleCircumference(5); } public static void printCircleCircumference(int radius) { //write your code here
    • 13.09.2018
    • 2075views
    • 6comments
    0
  • Jacqueline Lim
    Level 9
    Makati
    Question about the task Initializing cats
    Java Syntax, Level 5, Lesson 7
    Resolved
    InitializeHow to initialize the variables to the passed values?
    • 30.09.2018
    • 2515views
    • 2comments
    0
  • Anwaar ul haq
    Level 6
    Islamabad
    Question about the task Initializing cats
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Any suggestionI think everything is fine but still not working
    • 29.09.2018
    • 1404views
    • 2comments
    0
  • Augustine Yanthan
    Level 2
    Kohima
    Question about the task Don't feel like it? Do it anyway.
    Java Syntax, Level 1, Lesson 8
    Under discussion
    Really feel like doing it HelpCarefully check the displayed text. It looks like you made a typo? Help me out, anyone???
    • 06.10.2018
    • 1621views
    • 6comments
    0
  • srikanth
    Level 1
    Delhi
    Under discussion
    How can i unlock lessonsHow can i unlock lessons
    • 03.11.2018
    • 1467views
    • 1comment
    0
  • Memoona Arif
    Level 1
    Karachi
    Question about the task Choose healthy food! Choose fruit!
    Java Syntax, Level 1, Lesson 8
    Archived
    What is wrong with this code ?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"); System.out.println("And be one traveler, long I stood"); System.out.println("And
    • 23.10.2018
    • 1445views
    • 6comments
    0
  • Kannaraj
    Level 4
    Mount Laurel
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    getting correct result but unable to complete the task...what culd be the issue.?package com.codegym.task.task04.task0409; /* Closest to 10 */ public class Solution { public static void main(String[] args) { displayClosestToTen(-4, -1); displayClosestToTen(7, 9); } public static void displayClosestToTen(int a, int b) { // write your code
    • 02.11.2018
    • 1583views
    • 2comments
    0
  • Aryan Yadav
    Level 4
    bikaner
    Question about the task Printing strings
    Java Syntax, Level 3, Lesson 5
    Under discussion
    helpwhat mistake i am doing
    • 10.09.2018
    • 1698views
    • 2comments
    0
  • Maria Habib
    Level 5
    Jhelum
    Question about the task Printing strings
    Java Syntax, Level 3, Lesson 5
    Under discussion
    :(why it shows error?
    • 15.09.2018
    • 1252views
    • 3comments
    0
  • Maria Habib
    Level 5
    Jhelum
    Question about the task Printing strings
    Java Syntax, Level 3, Lesson 5
    Under discussion
    ;(still showing error
    • 15.09.2018
    • 1416views
    • 3comments
    0
  • Xuhaib
    Level 7
    Lahore
    Question about the task Creating cats
    Java Syntax, Level 5, Lesson 9
    Resolved
    What's wrong?what have i missed ?
    • 02.11.2018
    • 1634views
    • 2comments
    0
  • Jacqueline Lim
    Level 9
    Makati
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Resolved
    How???What's the problem with my code?
    • 01.11.2018
    • 2287views
    • 7comments
    0
  • Djami
    Level 3
    Algiers
    Question about the task Bugs and features
    Java Syntax, Level 0, Lesson 8
    Under discussion
    The last condition !! The last condition is not fulfilled in any case. 32 characters? How to solve this question?
    • 02.11.2018
    • 1419views
    • 3comments
    0
  • 1
  • ...
  • 358
  • 359
  • 360
  • 361
  • 362
  • ...
  • 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