So what would I want to do? I'd like to somehow walk down each of the digits one at a time and add them up. Ah, that's a looping mechanism, right? I need to have some way of walking through them.
去取这个数的,每个数字然后把他们加起来,啊,这是个循环机制对不对?,我得找到一个遍历它们的方法,一种简单的方法可能。
I, somehow if, I want to walk through some sequence of data structures, gathering up or doing the same thing, adding ages in until I get a total age and then divide by the number faculty.
我想,以某种方法,来遍历,一些数据结构,把它们相同的属性加到一起,就是一直的把年龄加到一起一直到,得到了一个年龄总数,然后除以员工的数目。
应用推荐