1. Change graph and code of scanner in a way
that identifies decimal numbers in form :
.d+
d+.
d+.d+
2. Change graph and code of scanner in a way
that an id (identifier) can contain underline. (attention: underline at first
or end of id is not allowed, sequential underlines are not allowed too.)
3. Change graph and code of scanner in a way
that identifies comment in /**/ form.
4. Change graph and code of scanner in a way
that if “ was needed in string, it comes 2 “ s.
5. In a programming language, every Id
starts with an alphabet. Numbers of characters in an id is maximum 4. Second
and 4th character can be digits , but number of digits can not be
more than
Alphabets. Draw the graph and change scanner
code.
Get Free Quote!
366 Experts Online