Check person to eligible for vote or not programming
<?php
$age = 17;
echo checkVote($age);
function checkVote($age){
if($age >= 18){
echo "You Are the eligible for vote";
}else{
echo "You are not eligible for vote";
}
}
?>
Check person to eligible for vote or not programming
<?php
$age = 17;
echo checkVote($age);
function checkVote($age){
if($age >= 18){
echo "You Are the eligible for vote";
}else{
echo "You are not eligible for vote";
}
}
?>
0Comments
Thanks you for commenting your questions. I will see question and respond you.