How can I put my switch case inside for loop? Please I need a syntax for this or an example.

which language? That is the first place to start. Each has its own syntactical peculiarities.

There are many code snippets online to look at.
I assume you know how to format a for loop. So, write that out first.
Then, place a switch statement inside the loop.
Google is your friend. Use it.