Hello everyone,
Im new to java programming and especially new to this forum. Im taking my first college computer science course. I did very well on my first exam (loops, methods, keyboard input, types, etc). However, this question seriously has me stumped. How do I make the quarter circle/square? I attached a picture of the question.
Heres what I know:
- I know I will need a loop
- Need to declare Random integer- how do I do this?
- I have no idea where to start
Code for program:
import java.util.Random; class Dogs { public static void main (String[] args) { Random integer r = new Random // Completely wrong probably.
Any help or suggestions will be greatly appreciated. Thank you in advance.