Question

write pseudocode to represent the logic of a program that allows the user to enter a...

write pseudocode to represent the logic of a program that allows the user to enter a value for the radius of a circle. The program calculates the diameter by multiplying the radius by 2, and then calculates the circumference by multiplying the diameter by 3.14. The program outputs both the diameter and the circumference.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Circle:

prompt user to enter radius R

diameter = R*2
   circumerence = 3.14*diameter

print diameter, circumference

Add a comment
Know the answer?
Add Answer to:
write pseudocode to represent the logic of a program that allows the user to enter a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT