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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 23.06.2019 03:30
In vista and windows 7, the appearance and personalization option allows you to change the
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
Write and test a python program to find and print the largest number in a set of real (floating point) numbers. the program should first read a single positive integer number from the user, which will be how many numbers to read and search through. after reading in all of the numbers, the largest of the numbers input (not considering the count input) should be printed.
Answers: 1
You know the right answer?
Create a function called displayStocks() which receives the name of the file to open. • It will crea...
Questions
question
Mathematics, 10.10.2021 16:30
question
Mathematics, 10.10.2021 16:30
question
Mathematics, 10.10.2021 16:30
question
Mathematics, 10.10.2021 16:30
question
English, 10.10.2021 16:30
question
Mathematics, 10.10.2021 16:30