Structuri repetitive C/C++ - KIDIBOT Knowledge Battles

Structuri repetitive C/C++

50 bonus points
7 successes
English
0
(0)

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

Megalix eat all the school library. Can you prove her that you are smarter?

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 secvenţa de instrucţiuni de mai jos toate variabilele sunt de tip întreg. for(i=0;i<5;i++) { for(j=0;j<5;j++) cout<<.........; cout<
  • Î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: 1760829994.1827 s