Structuri repetitive C/C++ - KIDIBOT Knowledge Battles

Structuri repetitive C/C++

50 bonus points
55 successes
English
0
(0)

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

Crocobet loves bacterias. He created a weird bacteria that makes kids not to want to go outside to play with their friends. Fight now to destroy the bacteria attack!

How useful was it?

Click on a star to rate it!

As you found this post useful...

Surprise your friends by sending this link to them

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++"

  • În următoarea secvenţă de program, instrucţiunea de afişare se va executa de un număr de ori egal cu: for (i=1;i<=3;i++) for (j=10;j>=i+1;j--) cout<
  • 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:

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: 1753514596.7456 s