Răspuns :
ii dam valori lui x,adica:
daca x=0
0+7<10
daca x+1
1+7<10
daca x+2
2+7<10
daca x=3
3+7=10
daca x=0
0+7<10
daca x+1
1+7<10
daca x+2
2+7<10
daca x=3
3+7=10