Aide pour un algorithme
lamalice31
Messages postés
1
Statut
Membre
-
Thorak83 Messages postés 1140 Statut Membre -
Thorak83 Messages postés 1140 Statut Membre -
Bonjour,
Je me casse la tête sur un algorithme qui serait capable de faire le calcul :
Dim tab(3,3) As Integer 'tableau déjà rempli
tot1 = tab(0,0) + tab(1,1) + tab(2,2) + tab(3,3)
tot2 = tab(0,0) + tab(1,1) + tab(3,2) + tab(2,3)
...
en gros
totn = tab(a,0) + tab(b,1) + tab(c,2) + tab(d,3)
avec a != b != c != d
Ça fait un moment que je suis dessus j'aurais bien besoin d'aide ...
Merci !!
Je me casse la tête sur un algorithme qui serait capable de faire le calcul :
Dim tab(3,3) As Integer 'tableau déjà rempli
tot1 = tab(0,0) + tab(1,1) + tab(2,2) + tab(3,3)
tot2 = tab(0,0) + tab(1,1) + tab(3,2) + tab(2,3)
...
en gros
totn = tab(a,0) + tab(b,1) + tab(c,2) + tab(d,3)
avec a != b != c != d
Ça fait un moment que je suis dessus j'aurais bien besoin d'aide ...
Merci !!
A voir également:
- Aide pour un algorithme
- Logiciel algorithme euromillion - Télécharger - Loisirs créatifs
- Algorithme application pc - Télécharger - Édition & Programmation
- Algorithme euromillion excel gratuit - Forum Algorithmes / Méthodes
- Algorithme ajout rapide snapchat - Forum Snapchat
- Algorithme qui calcule le carré d'un nombre - Forum Algorithmes / Méthodes