// test if: integers are true or false #include using namespace std; int main() { double num; // this will also work with int cout<<"Enter number to test:"; cin>>num; if (num) // 0 is false all other numbers are true cout<