All pastes #470750 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-04 14:00 UTC
rendered paste body
int i = 3;
double answer = 1;

while (i < upperValueAsFloat) {
	answer = answer - (1/i);
	i = i+2;
}

Console.WriteLine("Answer: " + answer); // This should probably be cout or something in C