Top Posters
Since Sunday
a
5
k
5
c
5
B
5
l
5
C
4
s
4
a
4
t
4
i
4
r
4
r
4
New Topic  
gcd99br gcd99br
wrote...
Posts: 428
Rep: 0 0
3 years ago
Which of the following code displays the area of a circle if the radius is positive?

▸ if (radius <= 0) System.out.println(radius * radius * 3.14159);

▸ if (radius != 0) System.out.println(radius * radius * 3.14159);

▸ if (radius >= 0) System.out.println(radius * radius * 3.14159);

▸ if (radius > 0) System.out.println(radius * radius * 3.14159);
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


Edition: 10th
Author:
Read 80 times
1 Reply
Replies
Answer verified by a subject expert
vande746vande746
wrote...
Posts: 383
3 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

gcd99br Author
wrote...

3 years ago
I appreciate what you did here, answered it right Smiling Face with Open Mouth
wrote...

Yesterday
Thanks for your help!!
wrote...

2 hours ago
Thanks
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1027 People Browsing
Related Images
  
 503
  
 19
  
 244
Your Opinion
Which 'study break' activity do you find most distracting?
Votes: 741