Created
April 29, 2020 12:04
-
-
Save KrystianGraba/9473810ba5cdcaff34612571a7a2e05b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| int main() | |
| { | |
| int ile; | |
| cout << "Do ktorej liczby wyswietlic liczby parzyste: " << endl; | |
| cin >> ile; | |
| cout << "Liczby parzyste do liczby " << ile << endl; | |
| for (int i = 2; i <= ile;i++) { | |
| if ((i % 2) == 0) { | |
| cout << i << endl; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment