how to write full code to complete result

color is yellow and size is small then class is inflated…

$Color$ = “yellow” AND $Size$ = “small” => “inflated”

how to get not “inflated value” for remaining cells. Its showing “?”