whats the difference between next and nextline | Sololearn: Learn to code for FREE!

+1

whats the difference between next and nextline

1/23/2017 11:02:20 AM

pushkar

2 Answers

New Answer

+7

next gets everything before the first space, for example input: Hello there next will get only "Hello" nextline will get "Hello there"

0

thanks