2 + 3 = 5

  • 1
  • Locked
It's obvious that 2 + 3 = 5, right? As it turns out, this isn't always the case: our test program is incomprehensible, because some genius programmer added extra lines. Restore balance to the world: comment out some lines to display "2 plus 3 is equal to 5" on the screen.
You can't complete this task, because you're not signed in.
Comments (93)
  • Popular
  • New
  • Old
You must be signed in
Yashvi DesaiLevel 0
day before yesterday, 17:38
Easy to understand
Saturday, 10:09
nice
AzhagiriLevel 2 , Kumbakonam
13 June, 11:19
It's very simple :)
bill34Level 1 , New York City
7 June, 15:39
read task carefully and do not delete or add anything just follow task and put //
ChiragLevel 0 , Noida
26 May, 13:31
I m unable to get plz help
Thope pavanLevel 4 , Hyderabad
22 May, 04:19
i am unable to get plz help me
RomanLevel 41
22 May, 05:55
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at codegym.cc/help.
MADESH KLevel 0
10 May, 06:05
program looks all right even when i run without verification this program gets result
PrashantiLevel 2 , Glassboro
3 May, 17:41
I am not able to understand where I am going wrong? blic static void main(String[] args) { int a = 3, b = 2; // System.out.println("two "); System.out.print(b); System.out.print(" plus "); // System.out.print(" minus "); System.out.print(a); // System.out.print("three"); System.out.print(" is equal to "); // System.out.print(" equals "); // System.out.print("five"); System.out.print(a + b);
Duck MacLevel 2
15 May, 21:27
look at the ("minus"). maybe you should take that out.
Duck MacLevel 2
15 May, 21:29
You should also take out the ("equals") too.
meenakshiLevel 1 , Mumbai
1 May, 11:56
okey great
Saturday, 10:13
I am not able to understand where I am going wrong?
Moses Level 2 , Beune
30 April, 22:04
This is really a great way of learning programming