vb求解答急!!急!!急!!急!!急!!急!!急!!急!!急!!急!!急

2021-03-03 21:21:07 字數 743 閱讀 8644

1樓:匿名使用者

'給你回答第一個問題,後面的2個問題相對來說簡單多了 :

private sub ***mand1_click()dim arr(1 to 4) as long, a as long, b as long, i as long, j as long

arr(1) = inputbox("輸入第一個數分子:")arr(2) = inputbox("輸入第一個數分母:")arr(3) = inputbox("輸入第二個數分子:

")arr(4) = inputbox("輸入第二個數分母:")a = arr(1) * arr(4) + arr(3) * arr(2)

b = arr(2) * arr(4)

for i = 2 to a / 2

if a mod i = 0 then

if b mod i = 0 then

a = a / i

b = b / i

i = i - 1

end if

end if

next

if a >= b then

if a = b then

print a / b

else

print a \ b & "(" & a mod b & "/" & b&; ")"

end if

else

print a & "/" & b

end if

end sub

求解答啊急急急急急急急急急急

these are erasers.these are my backpacks.those are orange jackets.they are red rulers.are these your brothers?yes they are no they aren t.those are di...

急急急急。。。。。。求解答。。。。。。。

一共是57人。設定半年的人數為x,定全年的為y,那麼可以列兩個等式 15x 30y 1320和30x 15y 1245.兩式相加後,兩邊除以45得到,x y 57.即是結果。解 設訂半年的學生有x人,訂全年的有y人,根據題意得 解得 x 26 y 31經檢驗,x 26,y 31是原方程組的解且符合題...

親,幾道數學題,求解答急急急急急急急

把兩個表面積都是6平方釐米的正方體拼成一個長方體,這個長方體的表面積內是10 2.5立方 容米 2500立方分米 0.12立方分米 120立方厘米 320立方厘米 0.32立方分米 750毫升 0.75升 0.285升 285毫升 0.6立方分米 600立方厘米 204立方米 204000立方分米 ...