Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 204 Bytes
int a;
a = 50;
a = constrain(a, 0, 100); // aに50を代入
println(a);
a = -10;
a = constrain(a, 0, 100); // aに0を代入
println(a);
a = 200;
a = constrain(a, 0, 100); // aに100を代入
println(a);
You can’t perform that action at this time.