Hey all, newbie programmer here and looking for some help.

I have to search for the 3 smallest integers and 3 largest in my 3x3x3 array.

I have it loaded with random numbers already. However, I am not allowed to use any kind of sorting, (bubble, insertion).

```
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{ int test=0;
int fun[3][3][3];
int num=rand()%10;
for(int i=0; i<3; i++)
{
for(int j=0; j<3; j++)
{
for(int k=0; k<3; k++)
{
fun[i][j][k]=rand()%10;
}
}
}
for(int i=0; i<3; i++)
{
for(int j=0; j<3; j++)
{
cout << " ";
for(int k=0; k<3; k++)
{
cout << fun[i][j][k] << " ";
}
}
cout << endl;
}
```