crisa
8. Pentru definiţia următoare a funcţiei sk(), stabiliţi câte asteriscuri se afişează la apelul sk(6).
6
8. Pentru definiţia următoare a funcţiei sk(), stabiliţi câte asteriscuri se afişează la apelul sk(6).
600
0
void sk(unsigned int x)
{
unsigned int i;
for(i=1; i<=x/2; i++) sk(i);
cout<<’*’;
}
10001un număr impar de asteriscuri00120014001611001
Quiz
Correct!
Sorry! Try again.
Your answer is partly wrong:
Please enter a guess.
Next correct letter in the answer:
Correct answers:
Show answer
1
1
nextpage.htm
0
1
1
0
0
0
2
2
0
0
0
Your score is
:-)
X
Questions answered correctly first time:
Questions completed so far:
You have completed the exercise.
Your time is over!
=>
<=
Index
1
1
0
contents.htm
Geneva,Arial,sans-serif
small
#C0C0C0
#000000
#FFFFFF
#000000
#0000FF
#0000CC
#000000
http://yourserver.com/cgi-bin/FormMail.pl
you@yourserver.com
Please enter your name:
one
two
three
Questions answered correctly first time:
Check
OK
=>
<=
Hint
Show all questions
Show questions one by one
1
0
0