英文单词模拟数学运算问题
大家帮忙看下,我严格按照标准输入,但是输出不了结果,还有开头那部分char dictionary[10][6]={"zero","one","two","three","four","five","six","seven","eight","nine"};为什么要那么定义,我找了好久都是这么定义
#include
#include
char dictionary[10][6]={"zero","one","two","three","four","five","six","seven","eight","nine"};
int count(char *content)//计算函数,形参为输入的字符串,输入为A[20][20]
{
char A1[10],A2[10],oper,B1[10],B2[10]; //第一个数的十位、个位、运算符、第二个数的十位、个位
int i; //遍历输入的字符串
int start; //起始位置<