Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Im working in visual basic and im having trouble with the code for this. Thanks in advance for the help. The Dogs of the Dow

Im working in visual basic and im having trouble with the code for this. Thanks in advance for the help.

image text in transcribed

The Dogs of the Dow is an investment strategy popularized by Michael B. O Higgins in 1991, which proposes that an investor annually select for investment the ten Dow Jones Industrial Average (DJIA) stocks whose dividend is the highest fraction of their price. The purpose of this project is to read in a values from DOW2014.txt Ea and display an ordered list similar to the screen shown below. Dow Determine the Dogs of the Dow Yield as of A Company Symbol 12/31/2014 T AT&T 5.51 VZ Verizon 4.62 Chevron Corporation CVX 3.82 GE General Electric 3.52 McDo McDonald's 3.50 Pfizer PFE 3.40 Merck MRK 3.12 ExonMobil XOM 2.99 Caterpillar CAT 2.95 Coca-Cola 2.89 Create a Structure named Stock consisting of the below members. The data record structure matches the displayed order of the members. Company symbol exchange ndustry price 2013 'price at end of 2013 price2014 'price at end of 2014 earnings PerShare dividend Read in all values from the input file into an array of type Stock. Use a LINQ query to determine each dividend ratio (dividend price2014). Order the equities in descending order by their dividend ratio Display the results in a DataGridview control. Rename the columns as: Compan Company symbol Symbo ratio 'Yield as of 12/31/2014

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_2

Step: 3

blur-text-image_3

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

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions