CODE and FLOWCHART Creation in C++

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.You must use two different arrays, one for customer number, and one for sales. These are, in effect, parallel arrays.You must use a “while” loop to gather customer number and sales.You must use a”for” loop to output the customer number and sales by customer.Here is what the output looks like.How many customers do you want to track? 1Enter the customer number. 1Enter the sales for the customer. 1000Enter the customer number. 2Enter the sales for the customer. 2000Enter the customer number. 3Enter the sales for the customer. 3000Enter the customer number. 4Enter the sales for the customer. 4000Sales for the CustomerCustomer    CustomerNumber       Sales1                  10002                  20003                  30004                  4000Total sales are $8999Average sales are $4499.00Upload your Flowgorithm file, your .c file, and a screenshot 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.

"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"

"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!":

Get started