1
0
LearningCPP/main.cpp

14 lines
237 B
C++
Raw Normal View History

2022-08-12 14:59:08 +01:00
#include <iostream>
2022-08-13 00:34:25 +01:00
2022-08-12 14:59:08 +01:00
int main()
{
2022-08-14 22:17:56 +01:00
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";
2022-08-12 14:59:08 +01:00
}