【发布时间】:2015-03-29 02:06:57
【问题描述】:
a = document.CPU.Bfirst.value;
w = document.CPU.Afirst.value;
aa = a + w;
k = aa.sub();
document.write(k);
*我想要下标形式的两个值的总和,但它只提供连接值而不是实际总和。
*其他变量:
a = document.CPU.Bfirst.value;
b = document.CPU.Bsecond.value;
c = document.CPU.Bthird.value;
d = document.CPU.Bfourth.value;
w = document.CPU.Afirst.value;
x = document.CPU.Asecond.value;
y = document.CPU.Athird.value;
z = document.CPU.Afourth.value;
e = a - w;
f = b - x;
g = c - y;
h = d - z;
i = (e + f + g + h)/4;
aa = a + w;
bb = aa + x;
cc = bb + y;
dd = cc + z;
j = w.sub();
k = aa.sub();
l = bb.sub();
m = cc.sub();
n = dd.sub();
*表格部分:
输入所有需要的信息:
过程 到达时间 爆发时间 一种 乙 C D【问题讨论】:
-
请帮帮我。我被困在加法部分。
标签: javascript