Code and Flowchart

profileBilly11

Write a program and flowchart. The program should ask the user how many customers they want to track.  Then, it asks for customer numbers, and sales by customer.  At the end, it prints out the customer number, the customer sales, and then the total sales and average sales. 

1. You must use two different arrays, one for customer number, and one for sales.  These are, in effect, parallel arrays.  

2. You must use a "while" loop to gather customer number and sales.

3. You must use a"for" loop to output the customer number and sales by customer.

Here is what the output looks like.

File Submission

Upload your Flowgorithm file, your .c file, and a screen shot of your code output saved in a Word document including the path name directory at the top of the screen into the dropbox for grading. 

    • 7 years ago
    • 5
    Answer(6)

    Purchase the answer to view it

    blurred-text
    • attachment
      CustomerSales.c
    • attachment
      Customer.fprg
    • attachment
      CustomerSales.docx

    Purchase the answer to view it

    blurred-text

    Purchase the answer to view it

    blurred-text
    NOT RATED

    Purchase the answer to view it

    blurred-text
    NOT RATED

    Purchase the answer to view it

    blurred-text
    NOT RATED

    Purchase the answer to view it

    blurred-text
    NOT RATED