Hello.
I'm trying to create a program that prints all 52 cards in the deck, from 1 to 10 and with all suits (Clubs, Diamonds, Hearts, Swords) and also prints the cards Jack, Lady and King. >
I found the use of the "for" more appropriate in this case, however I do not have much knowledge with repetitive functions, I would like to know how to print a "String" using "for"?
I am using this logic but it is not practical, as I would have to create a "for" for each number, I need a logic that simplifies this.
for (int i = 1; i <= 10; ++i) {
System.out.println(i + " De Paus");
}
}
}