Write an expression that will cause the following code to print "less than 20" if the value of userAge is less than 20.
// Internal code snippet
// comparing the value of the variable with userAge 20
if (userAge < 20)
{
std::cerr<< "less than 20";
}
Comments
Leave a comment