$a = rand(0, 10);
$b = rand(0, 10);
$c = rand(0, 10);
echo " $a", " $b", " $c" . '<br>';
if($a == 7 && $b ==7 && $c== 7 ){
echo 'u won jackpot';
}
elseif($a ==7 && $b!==$a && $c!==$a) {
echo 'last and middel number are not 7';
}
elseif($a !==$b && $b==7 && $c!==$b) {
echo 'last and first number are not 7';
}
elseif($a !==$c && $b!==$c && $c ==7) {
echo 'middel and first number are not seven';
}
elseif($a ==7 && $b==7 && $c!==$b) {
echo "last number is not 7";
}
elseif($a !==$b && $b==7 && $c==7) {
echo "first number is not 7";
}
elseif($a ==7 && $b!==$a && $c!==7) {
echo 'middel number is not 7' ;
}
else{
echo 'try again';
}