Answers for "cpp enalbe if else"

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
1

c++ if else

if (5 == 4) {
  //code you want to run if the condition is true
} else {
  // code you want to run if the condition is false
}
Posted by: Guest on November-28-2021

Browse Popular Code Answers by Language