Check person to eligible for vote or not programming

technical talkiess
0

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";

  }

}

?> 

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)