Pi = 4 - (4/3) + (4/5) - (4/7) + (4/9) - (4/11) + . Your program should ask for an iteration value and do the calculation of iterations. A sample output should be as follows for input value 30: for that number Enter your iteration number:30 iteration 0=4.000000 iteration 1=2.666667 iteration 2=3.466667 iteration 3=2.895238 iteration 4=3.339683 iteration 5=2.976046 iteration 6=3.283738 iteration 7=3.017072 iteration 8=3.252366 iteration 9=3.041840 iteration 10=3.232316 iteration 11=3.058403 iteration 12=3.218403 iteration 13=3.070255 iteration 14=3.208186 iteration 15=3.079153 iteration 16=3.200366 iteration 17=3.086080 iteration 18=3.194188 iteration 19=3.091624 iteration 20=3.189185 iteration 21=3.096162 iteration 22=3.185050 iteration 23=3.099944 iteration 24=3.181577 iteration 25=3.103145 iteration 26=3.178617 iteration 27=3.105890 iteration 28=3.176065 iteration 29=3.108269 iteration 30=3.173842
arkadaşlar bunu c de yazmamız gerekiyor dersteyiz şuan acil yardımmmmm