I don't understand where is mistake... :(
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 a = number / 100;
int b = number / 136;
int c = number / 91;
int d = a + b + c;
return d;
}
}