Spire.XLS for .NET is a professional Excel .NET component that can be used to any type of .NET 2.0, 3.5, 4.0 or 4.5 framework application, both ASP.NET web sites and Windows Forms application.

Wed Dec 22, 2010 3:27 am

What i have to do is a short program that averages the sales amounts of up to 20 employees(Each employees has 4 quarterly amounts that get averaged) in an array. I need write a loop that counts each quarter each employee's averages, and if an employee is found to have 3 out of 4 above average sales(compared to the quarterly sales of the other emplyees), I have to add that employee to a listbox. The problem is... What kind of loop i need and where would I start?

Posts: 4
Joined: Tue Dec 21, 2010 3:54 am

Wed Dec 22, 2010 9:13 am

Q:What kind of loop?
A:Any loop will do. which ever you know how to or want to handle.

Q:where to start?
A:Break it down; think it through. :lol:
e-iceblue support
User avatar

iceblue support
Posts: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.XLS