Arduino uno not printing messages in setup()

vima:

KeithRB:
This isn't your whole code. What is the value of NUMBER_OF_BODIES?

You might be running out of RAM, you may want to store the strings in flash.

Yes I have told you that this is now my whole code. It is just the new variables I added.

What do you mean in flash? Can you give me any example of this?

How much memory does arduino have?

Uno has:
About 30 Kbytes of FLASH memory for code space, but only 2 Kbytes of SRAM space for all your variables, arrays, const, String constants, stack space, heap space, etc in SRAM memory.
Other Arduino boards have different amounts of both types of memory.
Lefty