Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

請教高手一個程式問題

0 views
Skip to first unread message

小麒

unread,
Mar 3, 2004, 4:38:22 AM3/3/04
to
write a program that reads in two integers and determines and prints if the first is a multiple of the wecond.(Hint: use the modulus operator.)
>>
這題的意思是讓電腦讀出,但第一個數要第二個數的倍數,我不知道該
如何開始,因為我初學,所以請各位高手教教我吧,謝囉,
--
[1;32m※ Origin: [33m向 日 葵 [37m<bbs.im.cyut.edu.tw> [m
[1;31m◆ From: [36mu97-163.u61-70.giga.net.tw [m

學習寫C++

unread,
Mar 3, 2004, 6:45:55 AM3/3/04
to
※ 引述《hank (小麒)》之銘言:

> write a program that reads in two integers and determines and prints if the first is a multiple of the wecond.(Hint: use the modulus operator.)
> 這題的意思是讓電腦讀出,但第一個數要第二個數的倍數,我不知道該
題目有給提示...用餘除%
> 如何開始,因為我初學,所以請各位高手教教我吧,謝囉,
例如8是2的倍數...8可以用2整除~^^!!!

--
[1;32m※ Origin: [33m向 日 葵 [37m<bbs.im.cyut.edu.tw> [m
[1;31m◆ From: [36m220-140-53-2.HINET-IP.hinet.net [m
0 new messages