webberic92 / addvaluesinstringtomap Goto Github PK
View Code? Open in Web Editor NEWAdd numbers in a string array to their corresponding character values. If the values equal 0 then delete. example static String[] test = { "X:-1", "Y:1", "X:-4", "B:3", "X:5", "Y:-1", "B:5", };Return in a key value form Output Should only display B=8 because X and Y values = 0 and are omitted.