Write a statement that terminates the current loop when the value of the int variables x . and y .are equal

Write a statement that terminates the current loop when the value of the int variables x . and y .are equal

LANGUAGE: C++

CHALLENGE:

Write a statement that terminates the current loop when the value of the int variables x . and y .are equal

SOLUTION:


if(x == y){
	break;
}

Add comment