Promotion
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
sriharsha
Level 1
Hyderabad
Question about the task
I think being a programmer is cool
Java Syntax
,
Level 0
,
Lesson 3
Resolved
pls help
It's show's some error ...
19.10.2018
1096
views
3
comments
0
DuesVultKek
Level 7
Jacksonville
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Help me please!
My program works fine, in fact, it correctly converts euros to US dollars. However, I didn't pass the requirements which is when I analyze my code, it does what the it does. If there's a minor error, please let me know.
26.08.2018
1884
views
4
comments
0
Rad
Level 8
Maidstone
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
check my code
I gave input numbers it working properly, but showing error as not satisfied all conditions
18.10.2018
1457
views
2
comments
0
Rocky Redjie Quimado
Level 1
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Resolved
Guys help me how to display square of a number
Guys can you help me with this i cant understand!! package com.codegym.task.task01.task0140; /* Display the square of a number */ public class Solution { public static int number = 5; public static void main(String[] args) { //write your code her ... } }
07.08.2018
1600
views
3
comments
4
Memoona Arif
Level 1
Karachi
Under discussion
what is worng with this code ?
String name="I'm diego"; system.out.println(name); what is wrong with this code ?
18.10.2018
1110
views
1
comment
0
Vijay Rangan
Level 5
Jakarta
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Resolved
what's the link between s and Solution
can anyone explain why something in main function "Solution" display when I print s....while there is no assign operation like s = Solution in the program
16.09.2018
1548
views
5
comments
0
imran khan
Level 6
islamabad
Question about the task
18+
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
help
public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); int n = Integer.parseInt(s); int age = br.
18.10.2018
1128
views
2
comments
0
anotherLearner
Level 18
Barcelona
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Whats wrong here? i think problem resides in line 24 but i cant solve it. Some help would be apreciated.
package com.codegym.task.task05.task0529; import java.io.BufferedReader; import java.io.InputStreamReader; /* Console-based piggy bank */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(S
18.10.2018
1460
views
1
comment
0
Parmeshwar Kumar Sahu
Level 1
Wani
Under discussion
Error
What's meaning of error: "package system does not exist"
17.10.2018
1066
views
1
comment
0
Tofuu
Level 4
Wilmington
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Else Without If
So i tried after line 25: else if (month > 8 && month < 12) System.out.println("autumn"); But it wouldn't work... I also tried: else System.out.println("autumn"); Error: 'else' without 'if': Solution.java, line: 26, column: 9 // com/codegym/task/task04/task
17.10.2018
2514
views
4
comments
2
Eduardo
Level 23
Coyoacan
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Not sure why it won't run
Hi, not sure why i get an error in line 16 if I run it without verification. If i try to verify it the first two conditions are met, but not the other two. Any pointers? Thanks
17.10.2018
1513
views
1
comment
0
kapil
Level 12
delhi
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
i have checked the code is running in intellij ide but not in codegym.....i have tried a lot please help what is the problem
import java.io.*; public class Solution { public static void main(String[] args) throws IOException { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter your name"); String name = br.readLine
16.10.2018
1384
views
4
comments
0
Shahanshah Alam
Level 9
Mohali
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Resolved
what should i have to do in __ position to print string three and two time as per given condition
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList<String> list = new ArrayList<String>(); while (true) { String s = reader.r
01.10.2018
1524
views
8
comments
0
Swati
Level 8
Pune
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
if method call is correct or not?
Called static method in the main method.but not getting output.What's Wrong.can't figure it out.
16.10.2018
1126
views
2
comments
0
anotherLearner
Level 18
Barcelona
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
got stuck
Hi, i tried a lot of different combinations and cant solve the exercisse. Now it doesnt stop when i type -1.Maybe i have to declare a new int inside while loop? Im really lost.. package com.codegym.task.task04.task0442; /* Adding */ import java.io.*; public class Solution { public static v
16.10.2018
1592
views
3
comments
0
Sindhura
Level 15
Delhi
Question about the task
MovieFactory
Java Core
,
Level 4
,
Lesson 8
Resolved
what is my mistake?its not verifying though the logic seems to be correct
package com.codegym.task.task14.task1414; /* MovieFactory */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { // Read several keys (strings) from the console. Item 7 BufferedReader br = new BufferedReader(new InputStreamRead
16.10.2018
1825
views
4
comments
0
Baljinder Singh
Level 20
Toronto
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Under discussion
How can we determine time here?
15.10.2018
1377
views
3
comments
0
Koushik Kintali
Level 9
Rayagada
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Error!!!
Unable to find error
15.10.2018
1831
views
2
comments
0
Gilbert Veney
Level 10
Leesburg
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Help - I don't see why its failing.
It states that its not summing together. I cannot find where its failing.
12.10.2018
1577
views
3
comments
0
Xuhaib
Level 7
Lahore
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Output's correct but wouldn't accept.
Output's correct but wouldn't accept. Have a look at the code.
14.10.2018
1406
views
1
comment
0
bhavesh gadekar
Level 2
Sisauli
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
. The program should display the numbers 12 and 2. 2. Don't change the lines that declare variables. 3. The program must have only two int variables. 4. Don't change the lines responsible for screen output. 5. You need to uncomment the necessary lines and leave the remaining lines unchanged
. The program should display the numbers 12 and 2. 2. Don't change the lines that declare variables. 3. The program must have only two int variables. 4. Don't change the lines responsible for screen output. 5. You need to uncomment the necessary lines and leave the remaining lines unchanged
14.10.2018
1562
views
2
comments
0
Imtiyaz Ali
Level 7
Noida
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
doubt
How does the method min(a,b,c,d) affect the program by using method min(a,b) in it?
08.10.2018
1313
views
3
comments
0
saravanan m
Level 5
Chennai
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
what is wrong with my code?.
I am not able to spot the error.
14.10.2018
1824
views
10
comments
0
Rad
Level 8
Maidstone
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
how to enter input
showing error as Error converting a string to a number (invalid format).
12.10.2018
1159
views
2
comments
0
Inaam ur Rahman
Level 3
Karachi
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Resolved
the error i'm getting is fo different types being added that is double and int
the error i'm getting is of different types of variables being added that is double and int
10.10.2018
1723
views
5
comments
0
Joseph
Level 2
Milton Keynes
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
Square of a number - How to solve this?
We have not been taught how to call a method, so why are we being tested? i can't seem to progress past this point.
08.10.2018
1845
views
2
comments
0
Azhar Iqbal
Level 18
Multan
Question about the task
Sequential file output
Java Core
,
Level 6
,
Lesson 13
Under discussion
A little help is required
Thnaks advance
12.10.2018
1577
views
2
comments
0
Tayyab Mubeen
Level 16
Lahore
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
not able to remove summer months
how can i use Calendar class
13.10.2018
1828
views
3
comments
0
Ishaq Syed
Level 9
Hyderabad
Resolved
Level 3 - Lesson 2
After installing Codegym plugins, I don't see the new group of six buttons....plz help...
20.09.2018
1352
views
1
comment
0
Henrik Krogsholm
Level 16
Copenhagen
Under discussion
errror converting to a number
error converting a string to a number package com.codegym.task.task04.task0412; /* Positive and negative numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new
10.10.2018
1227
views
10
comments
0
Show more
1
...
356
357
358
359
360
...
367
Please enable JavaScript to continue using this application.