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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
Steven Mcilhone
Level 17
Belfast
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
what is going on, help me with this nightmare
:(
5/7/19
1307
views
1
comment
0
BOYINI SUSHMITHA RAJ
Level 2
SANGAREDDY
Question about the task
I think being a programmer is cool
Java Syntax
,
Level 0
,
Lesson 3
Resolved
Will it get automcatically submitted after passing the test when verified?
Will it get automcatically submitted after passing the test when verified?
5/7/19
1302
views
2
comments
0
Kian Sun
Level 5
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Found a working solution, but CodeGym hates it?
Hi! This set of nested if-else statements is logically correct (I think), but my code fails every one of GodeGym's requirements, and I can't figure out why. Any thoughts?
5/7/19
1873
views
2
comments
0
ASHUTOSH SHUKLA
Level 3
Katni
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Why last condition is not fulfilling?
I don't know what is wrong ,last condition is showing error. public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { int b=a+1000; System. out. print("Your salary is: " +b+ " dallors per
5/6/19
1373
views
3
comments
0
Ibrahim Ansari
Level 5
Mumbai
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Resolved
challenge to find my mistake, why the hell is the task failing?? It shows 0 is not a positive or negative number.
package com.codegym.task.task04.task0428; /* Positive number */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner input = new Scanner(System.in); int n
4/7/19
1720
views
6
comments
0
Alex
Level 24
Sibiu
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
What's wrong with my code .. ? 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."
package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
4/28/19
1670
views
3
comments
1
rey
Level 6
Makati
Question about the task
As simple as 2+2
Java Syntax
,
Level 1
,
Lesson 8
Resolved
simple 2+2 not so simple at all
i already put sum(2,2); and still not working omg why it works on others
4/20/19
2289
views
8
comments
0
AISHWARYA ANIL BHOSALE
Level 12
Pune
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Problem with test case
I have switch case and it returning the day of the week right . then still case not passed.
3/28/19
1783
views
2
comments
0
Bill Wu
Level 29
Wellington
Question about the task
Factorial
Java Core
,
Level 5
,
Lesson 12
Resolved
cannot be verified
I tested it with negative number, 0, and positive number less than 150, it worked fine.
2/17/19
1897
views
4
comments
0
Sasha
Level 20
Novi Sad
Question about the task
Introducing properties
Java Core
,
Level 10
,
Lesson 2
Under discussion
Can't spot the problem?
Any help?
3/4/19
1787
views
5
comments
1
sitedevelop
Level 2
Qaraghandy
Under discussion
About becoming junior developer
Hi, Is it possible to become junior developer remotely? Or get Java projects remotely as a freelancer?
5/5/19
1291
views
1
comment
0
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
4/6/19
1977
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 ?
4/26/19
2081
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?
5/5/19
1489
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
9/13/18
2120
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; } } ------------------------------
5/3/19
1278
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;
5/5/19
1358
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.
5/4/19
1258
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
5/4/19
2061
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
5/3/19
1372
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?
5/3/19
1881
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
5/3/19
1663
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.
5/3/19
1209
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(
5/3/19
1659
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??
5/4/19
1489
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%???????
2/8/19
1944
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
5/4/19
1262
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?
4/28/19
1204
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
5/2/19
1381
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
7/31/18
2134
views
7
comments
0
Show more
1
...
328
329
330
331
332
...
374
Please enable JavaScript to continue using this application.