hello gents
I am a beginner for the last 15 years as I do little bit of programming for a month and then give up on C-programming
Here is my homework and is little frustrating for my ignorance and asking too..
thanks in advance...
I need to in this code below..
If curr(currency) selection is if 0>curr<6 then printf("error: please enter between 1 to 5 for selection and then proceed with calculation of currency conversion\n")

How do I do this as when I enter 6(not acceptable) it proceeds to switch/case
part(why?)
but it should only proceed to switch/csae till the input(curr) is between 1 to 5
HOW ?? can someone read my code and see what can be done

Code is attached with some explanations too in the code