Is there someway that I can randomly assign an x y and z axis to a geometirical object?

Any programming language is fine just need some insight.

Thank you,

Suhail Rawal

See the Math random() method and the Random class. Both will generate random numbers

What values of x, y and z do you need?
Are those the only 3 numbers or are there more?
Where will you get those values from?

for example you can type

int x = Math.round (Math.random () * 100); // will generate a number between 0 and 100

Then you can use that x variable to print your square, cube, text, etc. on the screen at the generated value.

You can do the same for the y and the z axis.