At Marla Jean\'s Loonie Plus Store, every item costs less than $25.00. Marla has
ID: 3691197 • Letter: A
Question
At Marla Jean's Loonie Plus Store, every item costs less than $25.00. Marla has a price tag machine that produces stickers to display the cost of each itan. The machine's features are limited, liowever, and so every price tag must conform to the following specification. Only the digits 0-9 and the decimal point are allowed. Every price tag must liavo exactly one decimal point followed by two digits. These two digits represent the number of "cents" the item is worth. Every price tag may liave up to two digits Wore the decimal ix>int.. wliidi rep-resents the number of "dollais" the item Is worth. Leading 0's an? not allowed, luiless a singje 0 is used. It is also possible to have no digits before the decimal point.Explanation / Answer
the regular expression is
$[1-9]d.d{2}
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.