1樓:爛掉の蘿蔔
private sub form_load()
text1.left = 0
text1.top = 0
text1.width = me.scalewidth / 2
text1.height = me.scaleheight / 2
command1.left = me.scalewidth - command1.width
command1.top = me.scaleheight - command1.height
end sub
private sub form_resize()
text1.width = me.scalewidth / 2
text1.height = me.scaleheight / 2
command1.left = me.scalewidth - command1.width
command1.top = me.scaleheight - command1.height
end sub
private sub command1_click()
endend sub
額,你還別說,我看錯成左下角了。呵呵
沒錯,需要改一下。
一道c++程式設計題目 急求答案~~~~~~~~~~~
2樓:匿名使用者
#include
const pi = 3.14;
class cball
float sizeofball()
friend float sizeofsuf(cball* p)}; void main(void)
3樓:匿名使用者
#include
#define pi 3.141592654class ball
virtual ~ball(){};
float sizeofball()
friend float sizeofsuf(ball*p);
};void main(void)
4樓:匿名使用者
delete......
vb程式設計題目 急求答案!!**等!! 在文字框1中輸入一個正整數,在文字框1中按回車鍵表示結束輸入 10
5樓:兄弟連教育北京總校
private sub command1_click() '呼叫bai實du例zhi
dim str as string
msgbox return_str(5)
end sub
private function return_str(number as integer) as string '通用
dao函回數答
dim str as string
for i = 1 to number
dim str_temp as stringstr_temp = ""
' msgbox str_temp
for j = 1 to i
str_temp = str_temp & cstr(i)next
str = str & str_temp
next
return_str = str
end function
6樓:匿名使用者
dim n as integer
private sub text1_keypress(keyascii as integer)
if keyascii = 13 thenn = 0
dim s as string
s = text1.text
for i = 1 to len(s)
if val(mid(s, i, 1)) mod 2 <> 0 then
n = n + 1
end if
next i
text2.text = n
end if
end sub
c語言程式設計題目,急求答案啊
7樓:匿名使用者
int main(void)
printf("and");
}c=(a/10)%10(十位);
if(c==0)直接對個位判斷;
else if(c==1)
}d=a%10(個位)
switch(d)
大概就這樣了,具體的自己再補充下,這個程式比較狹隘,不容易推廣。例如4位或者5位數等
四道c語言程式設計題,急求答案 20
8樓:匿名使用者
#include
#include
int main(void)第三題
一道c語言題目,一道C語言題目
就是個斐波那契數的列遞迴解法啊,k項 k 1項與k 2項的和。你可以函式慢慢算。fib 0 0,fib 1 1,fib 1 1,fib 3 fib 1 fib 2 0,1,1,2,3,5,8,13.fib 7 fib 6 fib 5 fib 5 fib 4 fib 4 fib 3 fib 4 fib...
一道C 題目,請教一道C 的題目
include include strcmp needusing namespace std class person class compute 以上照書上的要求來!void compute setdata 輸入資料,沒有引數,資料直接儲存在類compute物件中 void compute pri...
求一道概率論題目答案,急,求一道概率論的題目答案和解答步驟。
1.一個 電子管bai不壞的概率du為1000 1500 2 1 3都不壞的概率zhi為dao 1 3 5 1 2432.壞一個的概率為5 10 243 壞的可能是五個中回可能是任一個,所以前面乘答以5 除去一個都不壞和壞一個,剩下的是至少有兩個壞的概率為1 1 243 10 243 232 243...