Structuri repetitive C/C++

50 bonus points
0 successes
English
0
(0)

Consta in verificarea structurilor repetitive din limbajul C/C++

Chicky Briki throw with hypnotic small to make you not like reading and learning. Hold your breath for 2 seconds and defeat her in this fight!

How useful was this post?

Click on a star to rate it!

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Examples of questions from "Structuri repetitive C/C++"

  • Care este valoarea pe care trebuie să o aibă iniţial variabila întreagă x pentru ca, în urma executării secvenţei de mai jos, să se afişeze HHHHHH? while (x!=3){ x=x-1; cout<<"HH"; | printf(”HH”); }
  • În secvențele de mai jos, notate cu S1, S2 și S3, toate variabilele sunt întregi, iar variabila n memorează un număr natural cu cel mult nouă cifre. //S1 if(n==0) p=1; else if (n%2==0) p=6; else p=4; //S2 p=1; for(i=1;i<=n;i++) p=(p*4)%10; //S3 p=1; for(i=1;i<=n;i++) p=(p%10)*4; Variabila p memorează ultima cifră a numărului 4n în urma execut ării, independent, a secvențelor:
  • Câte atribuiri se execută, în total, în secvenţa de mai jos, dacă n şi p sunt variabile de tip întreg? p=1; n=279; while (n>=100) { p=p*10; n=n-100; }

Do you think you can make a better quiz than Structuri repetitive C/C++?

Create your own quiz!
Problems with Structuri repetitive C/C++? Report!

Main Partner:

Supporters:

Total time: 1739920519.5033 s