- Thread starter
- #1
Brees#1
Well-Known Member
Just started programming and fundamentals and already am overwhelmed.
For starters, I'm in pre-calc which covers some of this stuff in CS which I have yet to learn in pre-calc.
So I have never done minutes and seconds before in a drt situation. And then add kilos.
Anyway, here's what I did for my population
For minutes, I divided 60 by birthseconds(1 birth * 7.0 seconds), 60 by deathseconds, and 60 by immigrantseconds and so on.
Then, I calculated extra pop by adding birthminutes + immigrantminutes - deathminutes *60.0(1 hr) *24.0 (1 day) * 365 (1 year)
For the first year I did newpop1 = currentpop + extrapop, for newpop2 I did newpop1 + extrapop and so on. Basically I had to display the new population for each of the next five years.
For starters, I'm in pre-calc which covers some of this stuff in CS which I have yet to learn in pre-calc.
So I have never done minutes and seconds before in a drt situation. And then add kilos.
Anyway, here's what I did for my population
For minutes, I divided 60 by birthseconds(1 birth * 7.0 seconds), 60 by deathseconds, and 60 by immigrantseconds and so on.
Then, I calculated extra pop by adding birthminutes + immigrantminutes - deathminutes *60.0(1 hr) *24.0 (1 day) * 365 (1 year)
For the first year I did newpop1 = currentpop + extrapop, for newpop2 I did newpop1 + extrapop and so on. Basically I had to display the new population for each of the next five years.