How can i create a program with an input string and follows the ff. rules in Dev C++.
first rule Identifiers: starts with a-z and ends with a-z and 0-9.
second rule Numbers: starts with 0-9 and ends with 0-9.
last rule Operators: accept operators (+,-,*,/ including = sign).
for example: input 123abc9+3
the output is like this.
123 - A Number
abc9 - Identifier
+ - Operator
3 - A Number
Where do you get stuck? What part do you not know how to do? What do you have so far? Please ask intelligent questions, as opposed to typing out a description of what looks like an assignment. The description by itself does not show us how we can help. Help us, to help you.