logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
William DewarrEngineering
(5/5)

695 Answers

Hire Me
expert
Aditi ToshniwalMarketing
(/5)

728 Answers

Hire Me
expert
Umar GulGeneral article writing
(5/5)

637 Answers

Hire Me
expert
Wyatt RyessEconomics
(5/5)

695 Answers

Hire Me
Visual Studio Programming

Write the program that helps the Starship escape the Wormhole of course, you will need to use a LOOP.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Write the program that helps the Starship escape the Wormhole. Of course, you will need to use a LOOP.

The Starship starts at Point 5 (shown above the picture) and escapes the Wormhole at Point 14. Use a random number similar to the Heads / Tails program that generates two random numbers. One random number will have the Starship move One Point to the Left, while the other random number will have the Starship move One Point to the Right.  As you can imagine, wormholes are very difficult to navigate in, meaning you (the program) does not really know which direction is out to escape.

The Starship can move only 1 Position (number) at a time, either Left or Right.

Inside a loop a new Random number is generated to determine the direction of the next move (left or right). This continues (Loop) until the Starship escapes. If the Starship arrives at Point 2 an anomaly sends the Starship back to the starting Point 5. This counts as ONE move.

The Form should include the above picture, a Start Button and a LISTBOX telling how long it took the Starship to escape (IN MINUTES) if it takes TWENTY FIVE (25) SECONDS to move between EACH Point. The Start button only needs to be pressed ONE time and the simulation continues until the ship escapes at Point 14.

Wormhole Part 2

Modify Part 1 to have 5,000 Starships traverse the wormhole.  Display inThe LISTBOX the average time (in minutes) for the 5000 starships to escape the wormhole. It still takes 25 Seconds for each move.  When the Starship arrives at Point 12, there is a 25% chance that the Starship will hit a group of Antimatter particles and DISINTEGRATE.  Count the actual number of ships that exploded and display the percentage in the LISTBOX of the total number of Starships that Disintegrated and Exploded. I just really need help with this problem.

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme