I'm working on a lesson to create a vacation plan. When I write code like
double money1 = money / days;
money1 = money*100;
money1 = (int) money1/ 100.0;
IntelliJ underlines money / days
and notifies me that it's redundant.
Why does it happen? How can I make it not redundant?