cout << "Negative";, cin >> x;, using namespace std;, }, int x;, cout << "Positive";, return 0;, if (x > 0), #include <iostream>, else, int main() {.

C++ if / else code lines

Leaderboard

Visual style

Mga Option

AI Enhanced: This activity contains content generated by AI. Learn more.

I-switch ang template

)
I-restore ang gi-autosave: ?