You are here:

C/C programming Question

Advertisement


Question
Could u write the program out for me for the Question i had sent u..can i ask for more help with my c programming questions?
-------------------------
Followup To
Question -
The value of pi can be approximated by calculating partial sums of the infinite series:
pi=4(1-1/3+1/5-1/7+1/9-...)

Write a program that asks the user for the number of terms(max_n) to use, and then sums the above series to max_n terms.

Could u please help me with this problem?
Answer -
Yes.

Answer
You are doing C programming and you must learn it properly.
Don't expect SPOON FEEDING at this age also.
It is not a big thing for me to give this code, but that won't help you in the long run.

You try to write the code yourself.
If you get into problems, I will try to help you out.
But, in case of problems, please do specify the input you are using, the expected output and also post the code.

Never expect anybody to write a code from scratch for you.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.