logo

Crowdly

Browser

Add to Chrome

În secvenţa de instrucţiuni de mai jos, variabilele x şi y sunt de tip int. Care...

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

În secvenţa de instrucţiuni de mai jos, variabilele x şi y sunt de tip int. Care este valoarea pe care trebuie să o aibă iniţial variabila x dacă la finalul executării secvenţei s-a afişat un singur caracter asterisc (*)?

y=x;

while(x<=3)

{

cout<<"*"; | printf("*");

y=y+1; x=x+y;

}

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