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
Ask a question
All quests
All levels
Any status
Questions about tasks
Hot
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 code
It's giving correct output while running in eclipse
08.11.2018
1894
views
5
comments
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
1286
views
1
comment
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
1659
views
1
comment
0
Aswini
Level 4
Chennai
Question about the task
My young friend
Java Syntax
,
Level 0
,
Lesson 4
Under discussion
Try it
public 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
2254
views
1
comment
0
Akash Sharma
Level 5
Delhi
Question about the task
18+
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
what is the error
package 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
1586
views
5
comments
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
1602
views
1
comment
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 verify
I tried all kind of real numbers and the program works correctly.. can any one spot an issue?
07.11.2018
1609
views
2
comments
0
joe
Level 3
Kigali
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Can't resolve typo
What's wrong with this picture?
07.11.2018
1606
views
3
comments
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 error
cannot 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
1702
views
1
comment
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 problem
I 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
1621
views
1
comment
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
1568
views
3
comments
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
1718
views
6
comments
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
1494
views
2
comments
0
Rad
Level 8
Maidstone
Question about the task
Ascending numbers
Java Syntax
,
Level 6
,
Lesson 11
Resolved
i need help
please check my code what is wrong please give me some information about the code
04.11.2018
2863
views
1
comment
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 this
package 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
1552
views
4
comments
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
1559
views
1
comment
0
Rad
Level 8
Maidstone
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
i need help
please check my code,what's wrong in my code ,last 2 conditions not satisfied
03.11.2018
1398
views
1
comment
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
2075
views
6
comments
0
Jacqueline Lim
Level 9
Makati
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Resolved
Initialize
How to initialize the variables to the passed values?
30.09.2018
2515
views
2
comments
0
Anwaar ul haq
Level 6
Islamabad
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Any suggestion
I think everything is fine but still not working
29.09.2018
1404
views
2
comments
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 Help
Carefully check the displayed text. It looks like you made a typo? Help me out, anyone???
06.10.2018
1621
views
6
comments
0
srikanth
Level 1
Delhi
Under discussion
How can i unlock lessons
How can i unlock lessons
03.11.2018
1467
views
1
comment
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
1445
views
6
comments
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
1583
views
2
comments
0
Aryan Yadav
Level 4
bikaner
Question about the task
Printing strings
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
help
what mistake i am doing
10.09.2018
1698
views
2
comments
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
1252
views
3
comments
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
1416
views
3
comments
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
1634
views
2
comments
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
2287
views
7
comments
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
1419
views
3
comments
0
Show more
1
...
358
359
360
361
362
...
372
Please enable JavaScript to continue using this application.