- 1

I cant take input and add them...help me

my code is not running https://code.sololearn.com/cgVXi8jO1q15/?ref=app

3rd Aug 2017, 2:20 PM
Shobh
Shobh - avatar
1 Answer
+ 2
.nextLine() is used for String data types ,use .nextInt() for int data types
3rd Aug 2017, 2:23 PM
Suhail Pappu
Suhail Pappu - avatar