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
Aakash potepalli
Level 22
Bangalore
Question about the task
Janitorial services
Java Core
,
Level 4
,
Lesson 8
Resolved
can anyone please help me with this
i am able to get the correct output , but not able pass the conditions
06.04.2019
1790
views
4
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Method in a try-catch
Java Syntax
,
Level 9
,
Lesson 11
Resolved
I am working as per conditions but why didn't verify ?
It is also displaying as mentioned the output.What's wrong then ?
26.04.2019
1878
views
5
comments
0
Serhiy
Level 9
Rivne
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
The code is working, than what's wrong?
It works as it should be (I've checked it with Eclipse), but at this web-page when I press to check the code the result is negative. What's wrong? The problem in my code or may be in your task?
05.05.2019
1281
views
2
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Resolved
What am I missing ?
package com.codegym.task.task03.task0303; /* Currency exchange */ public class Solution { public static void main(String[] args) { convertEurToUsd(5,13.6); convertEurToUsd(6,12.6);//write your code here } public static double convertEurToUsd(int eur, double exchangeR
13.09.2018
1944
views
4
comments
0
Beautiful Active Dedicated
Level 4
Arlington, TX
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
please help
can some one explain this method a lil more meaning the order of operations.i didnt exactly get the: if(abs(10-a) < abs(10-b)) public static int abs(int a) { if (a < 0) { return -a; } else { return a; } } ------------------------------
03.05.2019
1113
views
1
comment
0
Jeff Jeffy
Level 15
Irvine
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Compiler Issues
package com.codegym.task.task05.task0532; import java.io.*; /* Task about algorithms */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner in=new Scanner(System.in); int n=in.nextInt(); double[] g;
05.05.2019
1160
views
2
comments
0
dpp
Level 8
Colombo
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
What's wrong with this?
The last condition is not satisfied.
04.05.2019
1095
views
3
comments
0
Connor
Level 8
Boston
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
Why is this not working?
Whenever I run the code it prints out the second half of the 20 numbers I entered and I'm sure that it copies the first half of them to the first smaller array. So I can't understand why I'm not reaching a few of the conditions. I wanted to do this problem a few different ways so that I just have a
04.05.2019
1736
views
5
comments
0
Rowell
Level 3
Makati
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Please help
Return? How does return work? Is there something wrong with my codes? Please help
03.05.2019
1149
views
8
comments
0
stjepang
Level 8
Sveti Iija
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Problem !
There are many ways, but what wrong with mine? anyone?
03.05.2019
1659
views
3
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Should I have to parse the Strings to Int ?
It's very old procedural way though I tried this way. But the arrangement output is not wright
03.05.2019
1463
views
3
comments
0
hidden #10448869
Level 2
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Resolved
What is the problem?
Hi, Anyone is having the same problem? The logic flow is right, but at the validation it fails.
03.05.2019
1018
views
4
comments
0
Николай
Level 7
Mariupol'
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
what is the problem in this code?
package com.codegym.task.task04.task0436; /* Drawing a rectangle */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String s1 = reader.readLine(
03.05.2019
1434
views
2
comments
0
Jamp
Level 7
Coruscant
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Running error!
Task passes testing both here and in IDEA but it says "Error converting a string to a number (invalid format)." when i try to run it. Whats the problem??
04.05.2019
1304
views
2
comments
0
arafat
Level 4
Dhaka
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Resolved
What's wrong in here????????
how to increase the number by 10%???????
08.02.2019
1758
views
6
comments
0
madhushree
Level 3
Bangalore
Question about the task
The required number
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
please help me I am not able run this program
class Resource { int n; boolean val=false; synchronized int get() { while(!val) { try { wait(); } catch(Exception e) {} } System.out.println(“Consumer”+n); try { Thread.sleep(500); } catch(Exception e1) {} val=false; notify(); return n; } synchronized void put(int n) { while(val) { try { wait(); } c
04.05.2019
1054
views
1
comment
0
Mareike
Level 4
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Hi, don't know what I've done wrong here.
Hello everyone, I don't know how to get the last two conditions correct. Can somebody help me, please?
28.04.2019
1036
views
2
comments
0
Phil Patterson
Level 11
Chisinau
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Problem with thrid condition
Output is correct. Can't understand where is the problem. Output of the program (if were inserted numbers as strings). 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10
02.05.2019
1194
views
4
comments
0
Vikas
Level 3
Delhi
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Resolved
Java Syntax, Level 1, Lesson 3
is there any 1 who can help me to solve this quistion. plz
31.07.2018
1914
views
7
comments
0
Mareike
Level 4
Question about the task
Time for 10,000 insertions
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Any tips for how to return the time??
Hello everyone, any tips for how to return the time? public class Solution { public static void main(String[] args) { System.out.println(getInsertTimeInMs(new ArrayList())); System.out.println(getInsertTimeInMs(new LinkedList())); } public static long getInsertTimeInMs(L
03.05.2019
2424
views
3
comments
0
Balen Asangbeh
Level 23
Douala
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
pls what`s wrong
pls what`s wrong
03.04.2019
1522
views
1
comment
1
Azja
Level 32
Krakow
Resolved
Intellij IDEA all time indexing [fixed]
Hi! I have a problem with Intellij IDEA. It all time indexing, and updating indices. I tried to use FILE -> Invalidate Caches / Restart but didn't help. I tried to exclude some folders but it still didn't help, but when I RUN some project indexing pausing and there is few minutes to work calmly b
20.04.2019
1937
views
2
comments
1
Thebe
Level 7
Benares
Question about the task
Lonely arrays interact
Java Syntax
,
Level 7
,
Lesson 4
Archived
Lonely Arrays Interact
It is printing 10 numbers respective to the string array index but is not being verified.
12.02.2019
2185
views
3
comments
2
Daniel Buyinza
Level 13
Kampala
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Why is my code not being accepted?
When I run the code I see that I'm outputting the minimum of the three numbers. I even worked it out using an IDE.
03.05.2019
1128
views
3
comments
0
asyraf
Level 3
Kuala Lumpur
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Can someone explain me what my code does?
package com.codegym.task.task01.task0130; /* Our first converter! */ public class Solution { public static void main(String[] args) { System.out.println(convertCelsiusToFahrenheit(41)); } public static double convertCelsiusToFahrenheit(int celsius) { //write your cod
27.04.2019
1292
views
2
comments
0
Darko Jakimovski
Level 18
Kriva Palanka
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
What seems to be the officer, problem?
What's "too few lines" suppose to mean?
03.05.2019
1604
views
4
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Hippodrome (part 9)
Java Multithreading
,
Level 1
,
Lesson 16
Resolved
Help Please
Where is The Mistake
03.05.2019
1331
views
2
comments
0
John
Level 7
Houston
Question about the task
The required number
Java Syntax
,
Level 2
,
Lesson 5
Resolved
Solution
public class Solution { public static void main(String[] args) { int x = 1; int y = 0; y = y + 3 * x; // x = x * 2; x = x * 16; // y = y + 2 * x; y = y + x; System.out.println(y); } }
03.05.2019
1627
views
1
comment
0
Deepak Joshi
Level 17
Nainital
Question about the task
Task about algorithms
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Whats Wrong with this code?
Why the last condition is not satisfying.
03.05.2019
1367
views
1
comment
0
Henk
Level 19
Pretoria
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Please have a quick look ?
Not sure why it doesn't accept it. Says I have a "typo" ?
02.05.2019
1626
views
3
comments
0
Show more
1
...
325
326
327
328
329
...
371
Please enable JavaScript to continue using this application.