#P645. 10929 - You can say 11

10929 - You can say 11

題目描述

你的任務是,給你一個正整數 N,判定它是否是 11 的倍數。

輸入格式

每列資料有一個正整數N,N 最大可能到 1000 位數。

若 N = 0 代表輸入結束

輸出格式

對每個輸入的數,輸出是否為 11 的倍數。輸出格式請參考 Sample Output。

Samples

112233
30800
2937
323455693
5038297
112234
0
112233 is a multiple of 11.
30800 is a multiple of 11.
2937 is a multiple of 11.
323455693 is a multiple of 11.
5038297 is a multiple of 11.
112234 is not a multiple of 11.

原始資料

  • Zero1 題號:a645
  • Hydro 題號:Z0645
  • Locale:zh_TW
  • Display:open