Question: Java adding numbers String x1 = 3345534534512341999123422 3789234579823475983457321; add these two numbers together using arrays. CAN NOT USE biginteger must use int only. Should also
Java adding numbers
String x1 = "3345534534512341999123422 3789234579823475983457321";
add these two numbers together using arrays. CAN NOT USE biginteger must use int only.
Should also work with more than two numbers on a line.
String x2 = "20656 92993021345 4342342 2342342111 0 23134211999"
Example:
3345534534512341999123422 + 3789234579823475983457321 = 7134769100000000000000000
20656 + 92993021345 + 4342342 + 2342342111 + 0 + 23134211999 = 118473938453
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
