Any Java/programming buffs here?

I'm really struggling with a university assignment and I would appreciate some help.

Basically, I've been asked to recreate the text-only strategy game Hamurabi. For anyone who is not familiar with the game, essentially you have so many bushels of grain, and the purpose of it is to allocate those bushels between feeding the population of Sumeria, buying/selling acres of land and planting seeds for the following year. There is a version of it here if you want to get a better understanding of the game.

My problem is that my version of the game keeps saying X people have starved when this shouldn't be the case. For instance, here the game was telling me 68 people had starved, even though I had allocated enough bushels for every citizen.

Clearly this is a problem in my coding but I can't work out what it is. Is there anyone who can understand programming languages that could take a look at my coding and find out where I'm going wrong?