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

Rangliste

Visuel stil

Indstillinger

AI-forstærket: Denne aktivitet indeholder indhold genereret af AI. Lær mere.

Skift skabelon

)
Gendan automatisk gemt: ?