Home > Back-end > 3 C language program design input one two output
3 C language program design input one two output
Time:12-07
C language program design input English Numbers together, the output of Arabic numerals, Such as: Input: one plus two equals Output: 3 Thank you for the great god! To help
CodePudding user response:
Store a dictionary, the Numbers are in, such as 0-9, hundred, thousand, million, etc
CodePudding user response:
At least their first try to write, debug debugging, not how to understand and learn ~
CodePudding user response:
The scanf (); Printf (" 3 ");
CodePudding user response:
Declare an enumeration variable, the one, two... And 1, 2,... correspond
CodePudding user response:
Can design a database, a fixed number of English and relationship, reading the database from the input data splicing into digital computing
CodePudding user response:
Typedef one 1; Typedef two 2; . Int result=one plus two