Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

customer numbers

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.

How many customers do you want to track? 1

Enter the customer number. 1

Enter the sales for the customer. 1000

Enter the customer number. 2

Enter the sales for the customer. 2000

Enter the customer number. 3

Enter the sales for the customer. 3000

Enter the customer number. 4

Enter the sales for the customer. 4000

Sales for the Customer

Customer    Customer

Number       Sales

1                  1000

2                  2000

3                  3000

4                  4000

Total sales are $8999

Average sales are $4499.00

Upload 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.   

 

“Is this question part of your assignment? We Can Help!”


customer numbers was first posted on August 31, 2019 at 9:18 am.
©2019 "Classroom Essays". Use of this feed is for personal non-commercial use only. If you are not reading this article in your feed reader, then the site is guilty of copyright infringement. Please contact me at Academicheroes.com

Source link

 

“Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!”


customer numbers was first posted on August 31, 2019 at 9:19 am.
©2019 "Academicheroes.com". Use of this feed is for personal non-commercial use only. If you are not reading this article in your feed reader, then the site is guilty of copyright infringement. Please contact me at admin@Academicheroes.com.com

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