瀏覽單個文章
Chief_WU
Senior Member
 
Chief_WU的大頭照
 

加入日期: Jul 2001
您的住址: 台北市
文章: 1,401
1.
int x=(the value that you want)

if (x%7 == 0)
printf("The value %d can be divided with no remainder.\n", x);
else
printf("The value %d cannot be divided with no remainder.\n", x);
 
舊 2002-09-18, 10:51 PM #2
回應時引用此文章
Chief_WU離線中