Earn Higher Grades With Instant Assignment Help.Ask Question!

Visual Studio Programming
(5/5)

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.

Attachments:
(5/5)

Related Questions

CSI 1420 Introduction to C Programming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two majorconstructs of the C programming language – Fu

The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

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. The LineItem class will represent an individual

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

SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Assignment To Be Done By Our ExpertsGet A+ Grade Solution Guaranteed

expert
joyComputer science
(4/5)
12 Answers Hire Me
expert
Robert DLaw
(4.8/5)
896 Answers Hire Me
expert
Dr Samuel BarberaStatistics
(5/5)
910 Answers Hire Me
expert
Tutor For YouEconomics
(5/5)
977 Answers Hire Me