Click here to Skip to main content
15,898,134 members

Comments by Afu112 (Top 1 by date)

Afu112 24-Sep-10 3:54am View    
Thx for your fast reply.
But in the instructions of school I've to approach it like above.

So it should be something like

> for (count = 1 count c = pi; count +=2.0)

pi = 3.14159265

Is this ok? And how to i get the "-" (1 - 1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13 ... )?