My program is run in the command line with two parameters: program -param1 param2
Since I'm a beginner, I'm not sure how to do the following: I need the program to check if the param2 includes any characters other than capital letters (A-Z) and numbers (0-9). If there are other characters, the program has to print a message 'Second parameter includes forbidden characters.' and end. I'd be really grateful if somebody could help me with this piece of code. Thanks!
