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
Anonymous #297745
Level 3
Jaurian
Question about the task
Choose healthy food! Choose fruit!
Java Syntax
,
Level 1
,
Lesson 8
Archived
Need help
Please help me to solve this code 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.print(" ");
14.09.2018
1294
views
4
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Why am i getting this error
import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(bufferedReader.readLine()); int b = Integer.parseInt(buffer
17.09.2018
1633
views
9
comments
0
Manimegalai
Level 3
Kanchipuram
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Whats wrong in my code
public class Solution { public static void main(String[] args) { Zerg z1=new Zerg(); z1.name="aa"; Zerg z2=new Zerg(); z2.name="aa"; Zerg z3=new Zerg(); z3.name="aa"; Zerg z4=new Zerg(); z4.name="aa"; Zerg z5=new Zerg();
17.09.2018
1928
views
3
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Resolved
Why am I getting this error "The program ran too long and was closed"..?
public class Solution { public static void main(String[] args) { System.out.println(sumDigitsInNumber(546)); } public static int sumDigitsInNumber(int number) { int sum ; int n; sum =0; while(number >=0){ n=number%10;
17.09.2018
1794
views
1
comment
0
sohaila
Level 2
Karachi
Under discussion
i cant find the error although the output text is same but cant meet the last condition. recommendation is typo error. conditions are:Write a program that displays "It's not a bug—it's a feature." Example output: It's not a bug—it's a feature. Requirements: 1. The program should output text. 2. T
package com.codegym.task.task01.task0106; /* Bugs and features */ public class Solution { public static void main(String[] args) { System.out.print("It's not a bug"-it's a feature."); } }
17.09.2018
1284
views
3
comments
0
Anonymous #220266
Level 0
Hyderabad
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
Help me to solve
It is right or wrong
27.08.2018
1291
views
6
comments
0
Anonymous #260075
Level 2
Mumbai
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
i didn't get it plz help.
public class Solution { public static void main(String[] args){ Person Person = new Person();//write your code here } public static class Person { String name; int age; int weight; int money;//write your code here
16.09.2018
1810
views
1
comment
0
Anonymous #260075
Level 2
Mumbai
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
how to solve this code.i didn't get output.plz reply.
public class Solution { public static int number = 25; public static void main(String[] args) { int number = (25); System.out.print(number*number); } }
07.09.2018
1305
views
3
comments
0
Shahanshah Alam
Level 9
Mohali
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
help
what is wrong in this code
16.09.2018
1456
views
4
comments
0
Madhu Prabha
Level 7
Gurgaon
Question about the task
Deep and pure love
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Missing spaces
I'm not getting the output.Help please?
15.08.2018
3668
views
2
comments
0
Ryon
Level 9
Manila
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Not showing any output
package com.codegym.task.task07.task0712; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Shortest or longest */ public class Solution { public static void main(String[] args) throws Exception { //write you
16.09.2018
1255
views
1
comment
0
Jaisingh
Level 14
Hyderabad
Question about the task
Minimum of two numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
whats wrong with this solution . it display the correct answer . but server is not accepting it . plz tell me whats mistake
15.09.2018
1702
views
2
comments
0
gery
Level 9
Islamabad
Under discussion
verfication failed but runs fine
BufferedReader b = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(b.readLine()); int b1 = Integer.parseInt(b.readLine()); if (a
14.09.2018
1289
views
3
comments
0
Prahlad Singh
Level 6
Mumbai
Question about the task
Price of apples
Java Syntax
,
Level 4
,
Lesson 1
Under discussion
pls help
13.09.2018
1675
views
4
comments
0
Navaneeth H
Level 4
Canton
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Can we create two public class in the same Solution.java file.!!!
Can we create two public class in the same Solution.java file.!!!
12.09.2018
1294
views
3
comments
0
Zubin Nair
Level 7
New Delhi
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Fourth requirement is not satisfied
Fourth requirement is not satisfied here What is the problem here ?? And the recommendation from the mentor was that I have used too many methods in the class but i have used only one method that is max What is the problem here ?? Pls reply asap
14.09.2018
1316
views
3
comments
0
Vikas
Level 3
Delhi
Question about the task
As simple as 2+2
Java Syntax
,
Level 1
,
Lesson 8
Resolved
Java Syntax, Level 1, Lesson 8
now what i have 2 do i tried all methods but i'm not able to get answer plz help me to get answer.
31.07.2018
1918
views
7
comments
0
mane
Level 2
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
how to solve
how to solve
01.08.2018
1670
views
12
comments
0
Atif Saeed
Level 7
Islamabad
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Resolved
help........
what is the error plz tel........
12.09.2018
2143
views
4
comments
0
Aruna
Level 7
Coimbatore
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
what is the 2nd requirement ?
what is the 2nd requirement ?
09.09.2018
1324
views
10
comments
0
Nehal Abubakar
Level 7
Karachi
Question about the task
The required number
Java Syntax
,
Level 2
,
Lesson 5
Resolved
Help me out plzz
I can't trace my error it's showing that its providing the correct result but comment as many lines as possible.
08.08.2018
2045
views
9
comments
0
kirti
Level 8
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
error
why it is not working??
11.09.2018
2809
views
6
comments
0
Somya Gupta
Level 4
Vrindavan
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
plzzz
package com.codegym.task.task03.task0314; /* Multiplication table */ public class Solution { public static void main(String[] args) { int ans; for(int i=1;i<=10;i++) { for(int j=1;j<=10;j++) { ans=i*j;
22.08.2018
1959
views
3
comments
0
Akshay Y Shirsat
Level 7
Mumbai
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Resolved
what is wrong with this code?
i cant find out where am i going wrong. can anyone help?
11.09.2018
1565
views
2
comments
0
Shahanshah Alam
Level 9
Mohali
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
help please
how to use min(a,b) in min(a,b,c,d)?
09.09.2018
1976
views
4
comments
0
Jeonghwa
Level 10
Seoul
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
HELP ME PLZ!
"The program should display the maximum of the N entered numbers." RECOMMENDATION FROM YOUR MENTOR : Be sure that the program works correctly for negative numbers. I think that this is executed well for negative numbers........ MENTOR... What's wrong with me....
10.09.2018
1469
views
2
comments
0
Muhammad Faizan Janjua
Level 6
Lahore
Question about the task
Bugs and features
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
what is my mistake
its another code .. tell me what is problem public Class Solution { public static void main([String[] args) { String s="It's not a bug—it's a feature."; System.out.print(s); } }
10.09.2018
1302
views
2
comments
0
Usama Ali
Level 2
Multan
Under discussion
Why didnt I get my blackstone even after completing my task
Why didnt I get my blackstone even after completing my task
08.09.2018
1147
views
1
comment
0
Ronaldo M
Level 2
Chennai
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Help me out
package com.codegym.task.task02.task0202; /* Where does a Person come from? */ public class Solution { public static void main(String[] args) { //write your code here } public static class Person { String person= new person(); int age; int money; int
08.09.2018
1381
views
3
comments
0
Mrudulaa
Level 7
Hyderabad
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
what is the problem in this solution?? Can any one explain
public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int maximum = 0; int N = Integer.parseInt(reader.readLine()); int c =0,a =0; while(N>0 &
10.09.2018
1743
views
3
comments
0
Show more
1
...
361
362
363
364
365
366
Please enable JavaScript to continue using this application.