I need to do a for loop that helps me rotate an image.

Design a function that uses nested for loops to rotate an image 90
degrees clockwise.
Could you guys help me Im lost..... :-/

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.