I´m new to java and just started to learn but have a little problem. What I want to know is how I can get a long integer from the user and then caculate the sum of the separate numbers? I thinking I would use som sort of array and then calculate from there. The thing is I´m use to ada programminglanguage so I understand the problem but don´t really know how to tackle the problem in java.
So if someone could help I would be grateful!