subject
Computers and Technology, 24.03.2020 17:30 bm42400

Create a function called displayStocks() which receives the name of the file to open. • It will create an input file object, • open the file for input, • read the file, • Display the stock name, the number of shares, the purchase price and the current value • Create a function called totalValue() which will: • calculate and display the profit or loss on each stock, • and display the total value. • Create a function called displayMenu() which will display the menu. • Note the formatting! Don’t forget to close the file!

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, keviongardner
The next button in the review section shows the next available comment. next slide with no comment. previous comment. edited comment.
Answers: 1
image
Computers and Technology, 23.06.2019 22:00, bb1593
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
image
Computers and Technology, 24.06.2019 02:10, ttangelique
Which sentences describe the things you need to ensure while creating a sketch and a drawing? while an artistic or creative drawing is a creative expression, a technical drawing is an informative expression. you need to create accurate and neat drawings to convey accurate information. a technical drawing clearly conveys its meaning or information, and does not leave room for interpretation maintain a good speed while creating drawings
Answers: 1
image
Computers and Technology, 24.06.2019 11:40, girdwood6678
100 pts. first person gets brainliest
Answers: 2
You know the right answer?
Create a function called displayStocks() which receives the name of the file to open. • It will crea...

Questions in other subjects:

Konu
English, 12.09.2021 17:40
Konu
Mathematics, 12.09.2021 17:40