Can anyone tell me what i did wrong?
Thanks!!!

Loading, please wait...

```
package com.codegym.task.task01.task0132;
/*
Sum of the digits of a three-digit number
*/
public class Solution {
public static void main(String[] args) {
System.out.println(sumDigitsInNumber(546));
}
public static int sumDigitsInNumber(int number) {
int sum = number / 10;
int sum1 = sum/10;
int sum2 = number / 10;
int sum3 = sum2 / 10;
int sum4 = number / 10;
int sum5 = sum4 / 10;
int sumAll = sum1 + sum3 + sum5;
return sumAll;
}
}
```