Home > Back-end >  Use c language to solve, thank you all for bosses
Use c language to solve, thank you all for bosses

Time:10-06


The programming topic
Read - an arithmetic expression, how the Numbers and words
Operator, respectively, in different types of arrays,
(12-4) * (28) 50 - #

CodePudding user response:

//read the keyboard
Char [100] reader;
The scanf (" % s ", reader);

Then read them one by one reader [I]
By judgment is the ASCII code Numbers or characters

CodePudding user response:

Input a string of characters is how to judge him Numbers or characters do arithmetic with
  • Related