Page 1 of 1

A signed decimal number consists of an optional sign+or-, the digits before the decimal point a decimal point and the di

Posted: Thu May 26, 2022 9:20 am
by answerhappygod
A signed decimal number consists of an optional sign+or-, the
digits before the decimal point a decimal point and the digits
after the decimal point. Leading zeros are not allowed.
Examples:
-2.305, +2.00000, 3.141592, +0.0
Give a grammar that can be used to represent signed decimal
numbers.