0

I want to store data's using array untill user input nomore the program must execute then calculate its sum from inputed number

Need in java programming

18th Mar 2020, 5:57 PM
Ayush Bajgai
Ayush Bajgai - avatar
1 Odpowiedź
+ 1
Read a line of input as String and then split by delimiter (space, comma etc. you decide) Then use parse*** method from appropriate wrapper class(Integer ,Float etc. as per your requirement) Rest of the things are easy. At least try to do and show code if you need help.
18th Mar 2020, 6:01 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar