Error in the study of the cycle 'for'. Further in the description. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Error in the study of the cycle 'for'. Further in the description.

Hello! In the study "for" cycles("Control structures" >> cycles "for" >> last question) in the last question there is a bug! It is necessary to write a program that will give only the even numbers, the correct answer there 2, but if you write 4 or more even numbers, the program will display "Wrong!", But that 4 - is also an even number! (transfer by Google translator)

13th Oct 2016, 6:19 PM
Iremel
Iremel - avatar
6 Answers
+ 1
Please post in English
15th Oct 2016, 12:51 PM
Mashfiqun Nabi
Mashfiqun Nabi - avatar
+ 1
Yes, but 2 is also an even number. You can't omit 2,6 etc.
13th Nov 2016, 2:47 PM
Mashfiqun Nabi
Mashfiqun Nabi - avatar
0
Error in the study of the cycle 'for'. Further in the description. Hello! In the study "for" cycles("Control structures" >> cycles "for" >> last question) in the last question there is a bug! It is necessary to write a program that will give only the even numbers, the correct answer there 2, but if you write 4 or more even numbers, the program will display "Wrong!", But that 4 - is also an even number! (transfer by Google Translator)
15th Oct 2016, 1:09 PM
Iremel
Iremel - avatar
0
Nabi please i need ur help
13th Nov 2016, 10:31 PM
Alabi Oyewumi Emmanuel
Alabi Oyewumi Emmanuel - avatar
0
What kind of help?
14th Nov 2016, 9:00 AM
Mashfiqun Nabi
Mashfiqun Nabi - avatar
0
i want you to help me with something... please contact me through this..... oyewumialabi@gmail.com
14th Nov 2016, 7:45 PM
Alabi Oyewumi Emmanuel
Alabi Oyewumi Emmanuel - avatar