Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.
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?
-
sam912
-
- 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.
e-iceblue support
-
iceblue support
-
- Posts: 240
- Joined: Tue Dec 21, 2010 2:56 am