Results 1 to 2 of 2
Thread: Java int
- 02-14-2012, 08:47 PM #1Member
- Join Date
- Feb 2012
- Rep Power
Hello i need help with a school project, just want the basic format to finish it.
# Write a program that uses random numbers to generate two (x,y) coordinates.
# The numbers should be integers between 0 and 10.
# Compute the distance between the two points using the standard formula:
i was using this code but was having problem...i am getting stuck on random int.
- 02-14-2012, 09:03 PM #2
Re: Java int
CECS 174 - Project 3 ?
i am getting stuck on random int
2. You can't just invent method names, they have to exist. Have you read the API for Random? Do you know where to find it?
dbIf you're forever cleaning cobwebs, it's time to get rid of the spiders.