Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a JAVA program that is a Mobile Cheque Verifier and should input two lines from the user and continue analyzing the cheques until the
Write a JAVA program that is a Mobile Cheque Verifier and should input two lines from the user and continue analyzing the cheques until the user types exit on the 1st input line. Your program should work for ALL amounts from $0.01 to $999.99.
Here are the recommended releases:
- Program inputs the first line
- Correctly identifies the Payee and Numeric Amount
- Continues looping until user types exit
- Program inputs the second line and correctly determine a numeric amount for the cheque based on the words amount
- Works for values $0.01 to $99.99 - 3 Marks
- Works for Values $100.00 to $999.99
- Prints message that either: The Cheque is Deposited or an error message indicating the amounts do NOT match 1 mark
Additional Requirements
- General Expectations
- Indentation consistent
- Error check the input data
- Readability good variable names
- Documentation
- Comments at the top which include: Name, date, program description (4-5 bullets)
- Block documentation explaining the purpose of each significant block of code
- Sample run needs to match the inputs below.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started