if((a%100/10>3 || a%1000<100) && a/100>10)

Programare cu C++ nivel medie 8

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Ali Cabas
Used 27+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
338
438
3305
3035
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce afiseaza programul?
10
9
8
5
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care linie obtine 273 din numarul 12734
a/10000%100
a/100%100+a/10%10
a%10000/10
a%10000/100
a/10000*10+a%10
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care afla numarul rasturnat?
while(a>0)
{
r=r+a%10;
a=a/10;
}
while(a>9)
{
r=r+a%10;
a=a/10;
}
while(a>0)
{
r=r*10+a%10;
a=a/10;
}
while(a>0)
{
r=r+(a%10)*10;
a=a/10;
}
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce face programul respectiv?
Gaseste cel mai mare numar par si aparitie
Gaseste cel mai mare numar par si aparitie
Gaseste cel mai mare numar cu suma cifrelor par si aparitie
Gaseste cel mai mic numar cu suma cifrelor impar si aparitie
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for(int i=0; i<100; i++)
{
if(i/10==i%10 && i>9) cnt++;
}
cout << cnt;
10
9
11
8
7.
REORDER QUESTION
1 min • 1 pt
Gasiti ordine.
int n, cnt=0, a, maxcnt=0;
cin >> n;
for(int i=0; i<n; i++)
{
cin >> a;
if(a%2==0) cnt++;
else {
if(cnt>maxcnt) maxcnt=cnt;
cnt=0;
} }
cout << maxcnt;
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
Programare cu C++ incepatori 9

Quiz
•
6th - 8th Grade
10 questions
Programare cu C++ nivel medie 7

Quiz
•
6th - 8th Grade
12 questions
Programare cu C++ nivel medie 1

Quiz
•
4th - 8th Grade
16 questions
ЛАЯ. 01. Условный оператор

Quiz
•
8th Grade
10 questions
Brawl Stars Quiz

Quiz
•
1st - 12th Grade
8 questions
Structura secventiala

Quiz
•
6th - 8th Grade
10 questions
Programare cu C++ nivel medie 6

Quiz
•
6th - 8th Grade
8 questions
Fulls de càlcul - LibreOffice Calc

Quiz
•
8th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade