#Include <Array.au3> Local $fen,$miao,$sum,$exit,$cal,$times,$i,$GUI_EVENT_CLOSE Local $sumarray[100] While $i<10 $fen=InputBox("计算器","分") $miao=InputBox("计算器","秒") ;$sumarray[$i-1]=$fen*60+$miao ;$sum=$sum+$sumarray[$i-1] $sumarray[$i]=$fen*60+$miao $sum=$sum+$sumarray[$i] $i=$i+1 WEnd _ArrayDisplay($sumarray,"结果") MsgBox(0,"sum",$sum)
您需要 登录 才可以下载或查看,没有账号?加入
举报
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2024-12-23 12:58 , Processed in 0.075874 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.