2个回答
展开全部
用Action Script 2.0(Flash MX 2004 或 Flash 8):
var a = -3;
var b = 4;
var c;
var d;
function △() {
c = a * b - a - b + 1;
if (c > 4) {
trace (c + ">" + "4");
}
if (c < 4) {
trace (c + "<" + "4");
} else {
trace (c + "=" + "4");
}
}
△();
var a = -3;
var b = 4;
var c;
var d;
function △() {
c = a * b - a - b + 1;
if (c > 4) {
trace (c + ">" + "4");
}
if (c < 4) {
trace (c + "<" + "4");
} else {
trace (c + "=" + "4");
}
}
△();
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询