write a complete program that prompts the user to input the radius of a circle ?

write a complete program that prompts the user to input the radius of a circle (in “main” function), and calculates the diameter, circumference and area respectively (in three user-defined functions), then prints those values to the screen (in “main” function).

3 Answers

Relevance
  • 1 month ago

    Hi, Jonathan.

    I could give you the answer written in Java, but you'll probably say "No, I wanted it in C++". It helps to tell us what language you're learning.

  • Lv 7
    1 month ago

    okay, i did it.

    10 points for me?

    also, that isn't really a question...

  • User
    Lv 7
    1 month ago

    OK.

    Now: what's your question?

    Or were you hoping that someone would do your homework for you?

Still have questions? Get your answers by asking now.