All pastes #762768 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-05 22:02 UTC
rendered paste body
int year = 0;
float start = p;
float increment = (r + 100) / 100;
float target = p * 2; // twice the amount;



 for(start; start < target; start *= increment)
	year++;