irelephant [he/him]@programming.devM to Software Gore@programming.devEnglish · 1 month agopretty small subtotal.programming.devimagemessage-square26fedilinkarrow-up1153arrow-down13
arrow-up1150arrow-down1imagepretty small subtotal.programming.devirelephant [he/him]@programming.devM to Software Gore@programming.devEnglish · 1 month agomessage-square26fedilink
minus-squarehperrin@lemmy.calinkfedilinkEnglisharrow-up3·1 month agoInstead, use arrays. int[] total = […itemsPriceArrays.flatten()];
Instead, use arrays.
int[] total = […itemsPriceArrays.flatten()];