Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Visual basic problem. I included the document with the list of planets and their distances as well VISUAL BASIC Problem 7-1 Exoplanet Distances - An

Visual basic problem. I included the document with the list of planets and their distances as well image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
VISUAL BASIC
Problem 7-1 Exoplanet Distances - An exoplanet is a planet outside of our own solar system. Any planet orbiting a star other than our Sun (sometimes called "Sol") is considered to be an exoplanet. To date, astronomers believe that they have identified over 4000 planets. Only some of these are in the "Goldilocks Zone". Planets orbiting their star from a certain distance may be able to support earth-like life. Your task is to create an app in which the User can find out the distance of an exoplanet that might support life simply by selecting it from a list box. The distance is in light years (LY). 1 LY is about 6 trillion miles). Here is what the appl looks like before the User clicks on the exoplanet's name: Hemier Problem 7-1 ExoPlanets Exoplanets Distance (LY) Earth Proxima Centaurib Gliese 667 Cc Kepler-442b Kepler-452b Wolf 10610 Kepler-1229b Notice that there is no button! Here is the result when the User selects Proxima Centaurib (a planet orbiting about the star Proxima Centauri, part of a triple star system): Heriter Problem 7-1 Panets - O X Exoplanets Distance (LY) 4.22 Earth Proxima Centaurib Gliese 667 Cc Kepler-442b Kepler-452b Wolf 1061c Kepler-12296 - 0 x Herniter Problem 7-1 ExoPlanets Exoplanets Distance (LY) 4.22 Earth Proxima Centaurib Gliese 667 Cc Kepler-442b Kepler-452b Wolf 1061c Kepler-1229b Here are some guidelines: 1. Download and save both text files provided in this assignment 2. Copy the list of planets from the Exoplanet-Names text file provided and paste them to the list box on your form. Use "Edit Items". 3. Copy the text file for the distances into the \bin\Debug folder, located in your program's inner project folder 4. Declare a string array for the distances. Use ReadAllLines to copy each line of the text file. 5. Do NOT use a button because I don't want you to use the button click event code sandwich. Instead use the event associated with the list box. Earth Proxima Centauri b Gliese 667 CC Kepler-442b Kepler-452b Wolf 1061c Kepler-1229b Kapteyn b Kepler-62f Kepler-186f Luyten b TRAPPIST-ld TRAPPIST-le TRAPPIST-1f TRAPPIST-lg LHS 1140 b Kepler-1638b Teegarden c* 14.22 23.62 1291.6 | 1402 13.8 769 13 | 1200 561 | 12.36 39 39 39 140 2491.83 12:58

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Datalog Engines In Databases

Authors: Bas Ketsman ,Paraschos Koutris

1st Edition

1638280428, 978-1638280422

More Books

Students also viewed these Databases questions

Question

Understanding Group Leadership Culture and Group Leadership

Answered: 1 week ago