All pastes #470746 Raw Edit

Something

public text v1 · immutable
·published 2007-05-04 13:57 UTC
rendered paste body
int i = 1;
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