Answers for "if expression in c++"

C++
2

if c++

int x = 20;
int y = 18;
if (x > y) {
  cout << "x is greater than y";
}
Posted by: Guest on February-11-2021
0

if statement C++

if (condition)
{
	// block of code
}
else if (condition)
{
	// block of code
}
else {
	// block of code
}
Posted by: Guest on June-24-2021

Browse Popular Code Answers by Language