14 lines
237 B
C++
14 lines
237 B
C++
#include <iostream>
|
|
|
|
int main()
|
|
{
|
|
if(-1)
|
|
std::cout << "-1 is true\n";
|
|
if(2)
|
|
std::cout << "2 is true\n";
|
|
if(1)
|
|
std::cout << "1 is true\n";
|
|
if(!0)
|
|
std::cout << "0 is false\n";
|
|
}
|