Created
October 24, 2024 10:06
-
-
Save vlaleli/369fa3c9b4f1e7320d711a33663595f3 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 y; | |
| for (int i = 2; i <= 4; i++) | |
| { | |
| y = pow(2, i) - 2 * pow(i, 2) - 1; | |
| cout << "y=" << y << endl; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment