我怎样才能输入斐波纳契码?

时间:2017-05-04 16:45:22

标签: php fibonacci

我正在尝试创建一个代码,您可以在此处输入数字,它会将我带到所有答案所在的页面。页面需要显示斐波那契序列,以及偶数和奇数的数量,它也必须在php中。帮助

<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: cyan;
}

</head> 
</center></h1>
</body>
<body><br>
<center>
<p>Please enter a number between 1 and 100 in the box below: </p>
<form action="fibPHPfor.html" method="post">
Number 1: <input type="text" name="integer_1"><br>

<input type ="submit">
</center>
</form>
</body>
</html>

0 个答案:

没有答案