subject

Write a program that uses methods and simulates throwing a rock in a basket in a straight line. Each time the program is run, the program should randomly calculate and tell the user the distance to the basket between 20 and 100 feet. Each time the program is run, the program should randomly calculate the wind speed between 0 and 50 mph. Each time the program is run, the program should randomly say if the wind is blowing towards the basket or away from the basket. Allow for the gravitational pull of the Earth. The user should be able to adjust the strength of the throw as well as the angle of the throw. The program should tell the user the distance of the throw. The program should give the user multiple attempts at the throw without changing the distance or wind speed to the basket. The program should count how many attempts it takes the user to put the rock in the basket. Assume that the user always throws the rock in a perfect straight line. Assume that the basket is a three foot circle.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:30
Raveena is making a professional presentation for a newly launched product of her company. she wants to incorporate the following features in her presentation. a) to add serial numbers in each slide b) to add name of her company on top of each slide. c) to add the picture of her product on the second slide(the picture of her product is stored on her computer) write the commands/features of her presentation tool using which she can perform the above operations.
Answers: 2
question
Computers and Technology, 22.06.2019 06:30
What result from the passage of this amendment
Answers: 1
question
Computers and Technology, 22.06.2019 10:00
When is an original work considered public domain? a. when posted via social media b. when it is posted on the internet c. when a copyright symbol is not included with the piece of work d. when explicit permission is given by the author / owner
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Ulia is planning to attend the same private four-year college her parents attended. she wants to save at least $18,000 in four years to contribute to her college education. which monthly deposit amounts can julia use to achieve her goal? check all that apply.
Answers: 2
You know the right answer?
Write a program that uses methods and simulates throwing a rock in a basket in a straight line. Each...
Questions
question
Biology, 15.04.2020 00:29
question
History, 15.04.2020 00:29
question
Mathematics, 15.04.2020 00:29
Questions on the website: 13722363