<?php if($_POST) { $input=$_POST['input']; for ($i = 2; $i <= $input-1; $i++) { if ($input % $i == 0) { $value= True; } } if (isset($value) && $value) { echo 'The Number '. $input . ' is not prime'; } else { echo 'The Number '. $input . ' is prime'; } } ?> *
Answers
Answered by
0
Answer:
what is this man I don't know
Similar questions
English,
29 days ago
English,
29 days ago
Computer Science,
2 months ago
Social Sciences,
2 months ago
Political Science,
9 months ago
Math,
9 months ago