Sagot :

Réponse :

Le programme affiche 50.

Explications :

En effet, à la fin de la boucle for, res contient : [tex]\text{tab}[0] \times \text{tab1}[0]+ \cdots + \text{tab}[4] \times \text{tab1}[4]\\[/tex]

soit :

[tex]1 \times 6+2 \times 5+3 \times 4+4 \times 3+5 \times 2= \boxed{50}[/tex].