python怎么求圓的周長?
1.寫一個死循環,像這樣: while True: #1. get radius #2. calculate area and cirum這樣子,程序會一直重復取半徑,計算周長,面積這一流程,應該可以滿足你的要求了。2..private sub command1_click()
if not isnumeric(text1) then
msgbox "xxx"
text1.setfocus
exit sub
end if
dim r as single
r = val(text1.text)
text2.text = 3.14 * r * r
3.end sub
private sub command2_click()
if not isnumeric(text2) then
下一篇怎么把程序輸入到觸摸屏