If you're only allowed to use if statements, what is the meaning of arrange these numbers? You have no way to move them around into an order, because they're not contained in anything, so when you say "arrange" what do you mean?

How do you know you can't use an array? Were you explicitly told to use only an if statement? I note that you're using int, else, <, ++, % and lots and lots of other things. They're not if statements, so how come you're using them? If you're allowed to use them, what else are you allowed to use?

First of all, have you been taugth arrays? and have you asked if you can use them?

If you definetily are not suppouse to use arrays, then technically you wont be able to sort them as they will not be in a place where you can access them sequencially. The most you can do is print them on the order you want to. Here is a hint on how you could approach it: The highest number has 0 numbers that are higher than it, the next one down has only 1 higher number than it, the next one has 2 higher numbers than it..... and so on. If you can put that into a function, it will save you a lot of typing. Regardless, it will be a lot of if statememnts

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...