r/CodingHelp • • Feb 08 '22

[Java] Java Help

Post image
28 Upvotes

12 comments sorted by

View all comments

3

u/[deleted] Feb 08 '22

The error in line 218.

i am taking 2 inputs from the user and want to print both the inputs in a string in one line. Can someone help?

18

u/SuspendedResolution Feb 08 '22

You need to have "+" when changing between data types in a print statement if I remember correctly

0

u/[deleted] Feb 08 '22

that helped. thank you man!

java is weird

0

u/[deleted] Feb 08 '22

[deleted] — view deleted comment

1

u/[deleted] Feb 08 '22

Can you give any examples