编辑代码
Go语言代码
1.16.3
1.10.4
1.22.0
运行
package
main
import
"fmt"
func
main
()
{
for
i:=
1
;i<=
100
;i++{
if
i%
2
==
0
{ fmt.Print(i) } } }