JM Tech Power

jm-tech-power-official/JMLang

A programming language made by JM Tech Power

Public Uncategorized
Clone jm-tech-power-official/jmlang.jmproj
example.jml
import "random.jml"
out "猜我想的数字是什么?(1~100)"

call random.int 1 , 100

set num $ret

set in -$in$-

while $in != $num
    if $in < $num
        out "太小了"
    end
    if $in > $num
        out "太大了"
    end
    set in -$in$-
end

out "猜对了"