I need to convert numbers to words in array, that we print from keyboard(array include other words too)
(我需要将数字转换为数组中的单词,这些单词是我们从键盘打印的(数组中也包含其他单词))
As an example .
(举个例子 。)
Input text: I have 2 apples. (输入文字:我有2个苹果。)
Output : I have two apples/How to do it ?Or how it write by using itoa? (输出:我有两个苹果/如何做?或者如何使用itoa来写?)
#include <stdio.h>
#include <stdlib.h>
#define MAX 170
int main(void) {
const char* fkr[10] = { "zero" ,"one", "two", "three", "four", "five", "six","seven","eight","nine" };
char* fk, ar;
char afk[MAX] = {};
gets_s(afk);
return 0;
}
ask by Apobia translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…