Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to write this in Java code and am very confused. Any help would be appreciated thanks Mail - blacker, Katelyn - OLX HV1

I need to write this in Java code and am very confused. Any help would be appreciated thanks

image text in transcribed

Mail - blacker, Katelyn - OLX HV1 X MInhox-katalynglarken X Netbaan ID Download St. x C Get Homework Hela With b how to do a screenshot on x + * 2 https://rvccinstructure.com/courses/3097333/assignments/31115011?module_item_id=68961380 ENCE CSIT-125-01V Assignments > HW1 Surg 202: HW1 A+ Submit Assignment Account Home Discussions Duc Tucsday by 11:59pm Points 100 Submitting a hlc upload Filc Typos java Available until Fcb 2 at 11:59pm Dashboard Grades People Courses Syllabus 915 The following is homework 1. Save your file as lastname_hw1.java and upload to canvas by 11:59 pm on Tuesday 2/2/21. A person buys 100 shares of MSFT stocks $91.50 per share. He sells the 75 shares of MSFT at $96.75 per share and the remaining shares at $97.50. When buying or selling, he has to pay 2% commission to the broker. Find the profit or loss. Calendar Modules E Conferences Inho Collaborations Add the decimal formatter, RVCC Library History Office 365 Cost of buying 100 shares of MSFT - 91.5 x 100 - 9150 Google Drive Follett Follett Discover Follett Discover Buying Commission - 0.029150) = 103.00 Cost of selling 75 shares of MSFT- 96.75 x 75 - 7256.25 Selling Commission 1 = 0.027256 25) = 145.12 VHL Central Help Chat Cost of selling 25 shares of MSFT - 97.5 x 25-2437.5 Selling Commission 2 = 0.0212437.5) = 43.75 Pront = 7256,25 +2437.5 - 9150 - 183 - 145.12 - 48.75 = 166.88

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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

Are Evelyns children entitled to a share of Josiahs estate?

Answered: 1 week ago