下面C++代码能实现正整数各位数字之和。( )
1 int N,Sum = 0; 2 cin >> N; 3 while (N){ 4 Sum += N % 10; 5 N /= 10; 6 } 7 cout << Sum;