/*
2 + 3 = 5
*/
public class Solution {
public static void main(String[] args) {
int a = 3;
int b = 2;
System.out.print("two");
System.out.print(b); //2 plus 3 equals to 5
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);
}
}
Anonymous #10762452
Level 1
I added my comment but not sure why it's showing incorrect??
Under discussion
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
Anonymous #10762452
7 July 2021, 01:17
yup
0
Guadalupe Gagnon
6 July 2021, 13:23
Is the output ↓ this?
2 plus 3 is equal to 5
If not then you will need to revisit the code and comment out the lines so the output matches that.
0
Anonymous #10762452
7 July 2021, 01:18
yup!! :)
0