[Solved] Assignment 3 program that opens the following text file and processes it contents

$25

File Name: Assignment_3_program_that_opens_the_following_text_file_and_processes_it_contents.zip
File Size: 763.02 KB

SKU: [Solved] Assignment 3 program that opens the following text file and processes it contents Category: Tag:
5/5 - (1 vote)

5/5 – (2 votes)

Please start with this source code.

Write a program that opens the following text file and processes it contents. The program should display the following per store:

  • The total sales for each week. (Should print 5 values one for each week).
  • The average daily sales for each week. (Should print 5 values one for each week).
  • The total sales for all the weeks. (Should print 1 value)
  • The average weekly sales. (Should print 1 value)
  • The week with the highest amount in sales. (Should print 1 week #)
  • The week with the lowest amount in sales. (Should print 1 week #)

The file contains the dollars amount of sales that a retail store made each day for a number of weeks. Each line in the file contains thirty five numbers, which are sales numbers for five weeks. The number are separated by space. Each line in the file represents a separate store.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Assignment 3 program that opens the following text file and processes it contents
$25