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
1 Réponse
+ 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.