logo

Crowdly

Browser

Add to Chrome

Variabilele  x ,  y  și  d  sunt de tip întreg și memorează câte un număr natur...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Variabilele xy și d sunt de tip întreg și memorează câte un număr natural strict pozitiv. Indicați o expresie care poate înlocui punctele de suspensie astfel încât, în urma executării secvenței obținute, variabila d să memoreze cel mai mare divizor comun al valorilor memorate în variabilele x și y.

d=x;

if(d>y) d=y;

while(........)

d=d-1;

Variante de răspuns (una corectă)

0%
100%
0%
0%
More questions like this

Want instant access to all verified answers on moodle1.ceiti.md?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome