3.3 從標準輸入讀入一個數,把它轉爲英語單詞輸出,如讀入 234,輸出「two three four」。

/* 3.3 從標準輸入讀入一個數,把它轉爲英語單詞輸出,如讀入 234,輸出「two three four」。 */ #include <iostream> using namespace std; void main() { int a = 0; int b = 0; int c = 0; int d = 0; cin >> a; while (a > 0) { b = a % 10; a =
相關文章
相關標籤/搜索