You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

430 B

printcombn

Instructions

  • Écrire une fonction qui affiche toutes les combinaisons possibles de n chiffres différents en ordre croissant.

  • n sera défini tel que: 0 < n < 10

ci-dessous vos références pour le format d'affichage attendu.

  • (pour n = 1) '0, 1, 2, 3, ...8, 9'

  • (pour n = 3) '012, 013, 014, 015, 016, 017, 018, 019, 023,...689, 789'

Fonction attendue

func PrintCombN(n int) {

}