I have the card name war and I have to make the card numbers 1-10 be 1-10 and 11-14 be J,Q,K,A, how would I do it?

"Make a copy of your program for Practice 8 and rename it appropriately (note: if you have improved that program since then, you should copy the improved version).Modify the program so that if a face value of a card is 11, 12, 13, or 14, the program displays it on screen as “J”, “Q”, “K”, or “A”, respectively". As it says, this is a copy of a previous assignment. We have to make it where if the random number generator is 11-14, it outputs the corresponding card value of J,Q,K,A, respectively. I tried to do an if-else statement but I’m not sure if that is the right way or not. I appreciate any help I can get. Thanks.

%d bloggers like this: