Using Files

profilejayrene

 

For completion of the program, use arrays and files.

Instead of prompting the user for the prices of the book, update the website program to reflect the following changes:

  • Read the prices into an array from a file using a loop
  • Use a second loop to sum the values stored in the array after the prices of all the books have been read
  • Write the content of the array to a second file

Create a 1/2- to 1-page document containing pseudocode based on the revised program needs. Replace the pseudocode statements in the existing pseudocode program.

Create a 1- to 2-page flowchart based on the algorithm for the revised program needs. Replace the flowchart structure in the existing flowchart for the program.

Submit your assignment using the Assignment Files tab.

    • 6 years ago
    • 15
    Answer(1)

    Purchase the answer to view it

    blurred-text
    • attachment
      docx62592.docx