<?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
Computer Science,
1 month ago
Computer Science,
3 months ago
Social Sciences,
3 months ago
Political Science,
10 months ago
Math,
10 months ago