Help with a circumference/area program
Author |
Message |
molly22
|
Posted: Mon May 15, 2006 5:27 pm Post subject: Help with a circumference/area program |
|
|
Hi,
I need to write a program that reads in the radius of a circle and then outputs either circumference of the circle, area of the circle, or diameter of the circle, depending on what the user requests. We are supposed to use functions to compute each of these three values.
I would appreciate any help available from you guys...
Thank You very much in advance!!! |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Delos
|
Posted: Mon May 15, 2006 6:04 pm Post subject: (No subject) |
|
|
Hello and welcome. We'd be pleased to help you!
Now, to start things off, let's see how much you've done - post the code that is giving you problems. Since I'm quite sure that you've already started on this and have given it ample thought and reflection.
Once we have seen how far along your own coding and understanding is, we'll be able to critique it and provide you with some helpful hints. |
|
|
|
|
|
Cervantes
|
Posted: Mon May 15, 2006 6:05 pm Post subject: (No subject) |
|
|
This is really simple. Do you know how to use a function?
Know that we don't do homework for people. Not only is it morally wrong (and a waste of our time ), you don't learn anything that way. You need to try to solve the problem yourself. If you get stuck and need a hand, we're here to help. Read some tutorials, think some more about it, then post in [Turing Help].
You've got lots of resources. Start by looking at the Turing Walkthrough, which contains links to a great many tutorials on this site. Sift through the Turing Walkthrough and you'll find what you're looking for quickly: a tutorial on functions.
[mod:bf84eb8297="Delos"]Ha! Beat you to it. Your skills are truely lacking these days...[/mod:bf84eb8297] |
|
|
|
|
|
|
|