0

How do you write a program to take N numbers as input and output all even numbers from 1 to N inclusive, each on a new line.

May anyone help? I am confused with how you stop the loop at the input and how you valdate the num is even.

3rd Jan 2021, 7:22 PM
Jay Scott
Jay Scott - avatar
1 Resposta
0
You should delete this question. It is duplicated and being answered here https://www.sololearn.com/Discuss/2652601/?ref=app
3rd Jan 2021, 8:16 PM
Brian
Brian - avatar
Quente hoje
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
FRC Coding?
1 Votes
Quiz duel
0 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes