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
Ask a question
All quests
All levels
Any status
Questions about tasks
Hot
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
1380
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
1356
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
1483
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
1292
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
2743
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
1306
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
1338
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
1213
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
1856
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
2327
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
1224
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
1435
views
6
comments
0
srikanth
Level 1
Delhi
Under discussion
How can i unlock lessons
How can i unlock lessons
03.11.2018
1238
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
1245
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
1373
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
1497
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
1121
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
1287
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
1496
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
2103
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
1213
views
3
comments
0
anotherLearner
Level 18
Barcelona
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Solved but got a doubt
It is assumed that the key can not be repeated within a map, so how can we search for several equal last-names? I had to put all different last names to complete the exercise...
26.10.2018
1647
views
1
comment
0
Tayyab Mubeen
Level 16
Lahore
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
how i can remove duplicates first name..???
any specific method t compare values of map please help
13.10.2018
1608
views
3
comments
0
Harika Yantrapragada
Level 7
Hyderabad
Resolved
how can we differentiate b/w a constructor and a method?
how can we differentiate b/w a constructor and a method?
31.10.2018
1406
views
2
comments
0
Vince Sesto
Level 10
Auckland
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Unsure Why It Is Not Calculating Correctly?
I am getting the following when I try to get this code verified: "Be sure that the program calculates the amount correctly." When I run my program everything seems to match the conditions set by the instructor and everything calculates correctly...How do I get more information on what is needed her
25.10.2018
1898
views
8
comments
0
Harika Yantrapragada
Level 7
Hyderabad
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
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." what's wrong with my code?
31.10.2018
1422
views
22
comments
0
errorCode
Level 9
Makati
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Whats wrong with my code?
I think my logic is correct
31.10.2018
1199
views
1
comment
0
Swati
Level 8
Pune
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
please help me in the task at earliest.
Giving me task failed to pass testing bcoz reason is -Carefully check the displayed text. It looks like you made a typo.and i m not getting the mistake.
26.10.2018
1273
views
5
comments
0
Sindhura
Level 15
Delhi
Question about the task
Bridges
Java Core
,
Level 4
,
Lesson 8
Under discussion
Not verifying..Please help
package com.codegym.task.task14.task1409; /* Bridges */ public class Solution { public static void main(String[] args) { println(new WaterBridge()); println(new SuspensionBridge()); } public static Object println(Object o){ if (o instanceof WaterBridge){
20.10.2018
1291
views
1
comment
0
Somya Gupta
Level 4
Vrindavan
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
plzz wats wrong
28.08.2018
1330
views
2
comments
0
Show more
1
...
353
354
355
356
357
...
366
Please enable JavaScript to continue using this application.