Home > Backend Development > PHP Tutorial > 赋值-请教一个php自由增减的小算法。

赋值-请教一个php自由增减的小算法。

WBOY
Release: 2016-06-02 11:33:51
Original
873 people have browsed it

php赋值算法

$i在0~30 的时候,$j是自由增减的,$i==30的时候,$j的值也一定要自由增减到30,不要直接就赋值30,这个算法怎么写呢?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template