with 11 it's just how to format the output of the main() so it looks like the picture above, the rest can be done with Eratosthenes' sieve.
make a for(...) loop to output seven numbers separated by a tab ( \t ) and output a newline after each seven number outputs for however many numbers you need to output.
with 10 I've absolutely no idea about it
Sounds pretty simple; go through the array and check if each successive entry is greater than the previous one. If so, it's in ascending order. If each successive element is less than the previous one, it's sorted in descending order. If the value of the elements goes up and down, then it's unsorted.
I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...