package com.codegym.task.task01.task0108;
/*
2 + 3 = 5
*/
public class Solution {
public static void main(String[] args) {
String s = "23";
int a = 3, b = 2;
String four = "four";
String three = "3";
//System.out.print("two");
//System.out.print(" plus ");
//System.out.print(s);
System.out.print(b);
System.out.print(" plus ");
System.out.print("three");
//System.out.print(a);
System.out.print(" is equal to ");
//System.out.print("five");
System.out.print(a + b);
}
}
why my code not summit?
Under discussion
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
Roman
5 September 2018, 13:54
Your code displays
but it should display
you almost do it, but you have a small mistake) Try to find it. 0
Rahul
5 September 2018, 02:53
you need comment out the unnecessary print command for desire output
0
Rohit Kumar Mishra
5 September 2018, 06:04
i have already comment those statement which are not necessary for desire output.
can you show me your code.
0