I didn't really understand the problem in the first place, I attempted, tried to listen to the mentor suggestion, but I just am not getting it. Can someone explain what I gotta do? I don't want a straight answer, I like to problem solve and just need to understand the problem better. Thanks for your help y'all!

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) {
//write your code here
int number1 = 500;
int sum1 = number1/100;
int number2 = 40;
int sum2 = number2/10;
int number3 = 6;
int sum3 = number3/1;
int sum = sum1 + sum2 + sum3;
return sum;
}
}