Answers for "if statement c++ example"

C++
4

if else c++

#include <iostream>
using namespace std;
int main()
{
  int a;
  cin>>a;
  if(a= 0);
  {
    cout<<"a = " << a;
  }
}
Posted by: Guest on October-05-2021
0

iff cpp

bool state = (value > 0) ? true : false;
Posted by: Guest on October-06-2021

Browse Popular Code Answers by Language