Created
April 19, 2024 20:43
-
-
Save AlejandroVelasco/b5c50a9ecf7385ef563ce3fedbf758ca 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> | |
| int main() { | |
| int n1 = 2; | |
| int n2 = 4; | |
| int n3 = 0; | |
| if (n1 == n2) { | |
| n3 = 1; | |
| } else { | |
| n3 = 0; | |
| } | |
| std::cout << "n3: " << n3 << std::endl; | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment