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 02:50
Which of the following had the greatest influence on opening the internet to the generly public
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
If you want to delete an entire word at a time, which key should you press along with the backspace or delete key?
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
The database design steps are listed below in the incorrect order. choose the correct order number next to each step. determine the information to be stored in the database. determine the fields needed to record the data determine if there will be any repetition of data entered, and separate the fields into tables to normalize the data. create relationships to connect the tables.
Answers: 3
You know the right answer?
Create a function called displayStocks() which receives the name of the file to open. • It will crea...
Questions
question
History, 07.09.2019 05:30
question
History, 07.09.2019 05:30
Questions on the website: 13722360