I have been trying to write this program since 9:00 am. and I am exhausted now. Could someone give a some direction???????

I am to write a program for a two dimensional (5 rols and 5 cols) and then write a procedure to rotate it 90 degrees. I wrote the matrix part but I can't get it to rotate .

thanks
Linda

think carefully what is happening to the numbers in the matrix. I take it you are transposing the matrix, have you tried interchanging the rows and columns (ie the two dimensions of the array)?

if you post your code i will have a go at finishing it off for you.

--------------------------------------------------------------------------
NEW - FREE pc support using your Instant Messenger
www.easy-help.tk

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.