Command line calculator with java. The for loop is skipping the number that is behind it and not adding it. example 2+2+4+2 it would skip 4

后端 未结 0 1608
花落未央
花落未央 2021-01-24 03:58

The for loop is skipping the number that is behind it and not adding it. example 2+2+4+2 it would skip 4.

for(int i = 0; i < parts.length; i++) {
        int a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题