A check is a well-known financial document that is used in place of handing a person or company cash. For this exercise, you are asked to create a program that will simulate creating a personal check based on user input. Your program should allow the user to enter a payee name, check number and amount. Once this information has been entered, your program should print out a formatted check containing all the pertinent information (including the spelled out textual version of the amount such as "One Hundred and Twenty-Three and 45/100". Design your program with a class named CheckProducer that has a public method called generateCheck(). The generateCheck() method should take in an integer for the check number, a string for the payee name, and a double for the amount of the check. When this method is called, it should build and return string containing the check. Include a main) method that will accept the user input and call generateCheck() to print out the check. You can create any additional class methods needed to build the check. For example, creating a textual string for the amount may take several steps to complete. You may want to create additional methods to simplify your logic. Note, you do not need to worry about the check date, ABA, or account numbers. "The check number logic only needs to support values up to hundreds of thousands, do not go into the millions. The standard number of digits (2) for cents should be supported." Sample Input/Output Enter Full Name John Smith Enter Check Number 123 Enter Dollar Amount 123.45 Date: 01/01/2021 Check #: 123 Paid to the order of : John Smith 123.45 . One Hundred and Twenty-Three and 45/e0 .... DOLLARS МЕМО 123456789 111111111111 Hints: Pareing pumbere into iodividual narte
A check is a well-known financial document that is used in place of handing a person or company cash. For this exercise, you are asked to create a program that will simulate creating a personal check based on user input. Your program should allow the user to enter a payee name, check number and amount. Once this information has been entered, your program should print out a formatted check containing all the pertinent information (including the spelled out textual version of the amount such as "One Hundred and Twenty-Three and 45/100". Design your program with a class named CheckProducer that has a public method called generateCheck(). The generateCheck() method should take in an integer for the check number, a string for the payee name, and a double for the amount of the check. When this method is called, it should build and return string containing the check. Include a main) method that will accept the user input and call generateCheck() to print out the check. You can create any additional class methods needed to build the check. For example, creating a textual string for the amount may take several steps to complete. You may want to create additional methods to simplify your logic. Note, you do not need to worry about the check date, ABA, or account numbers. "The check number logic only needs to support values up to hundreds of thousands, do not go into the millions. The standard number of digits (2) for cents should be supported." Sample Input/Output Enter Full Name John Smith Enter Check Number 123 Enter Dollar Amount 123.45 Date: 01/01/2021 Check #: 123 Paid to the order of : John Smith 123.45 . One Hundred and Twenty-Three and 45/e0 .... DOLLARS МЕМО 123456789 111111111111 Hints: Pareing pumbere into iodividual narte
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
The images attached show the homework assignment that I have been working on. I have completed some code. I am interested in having some explainantion of the code I am about to attach. This is my code. This is in Java. The homework assignment does not use arrays. We have not covered that in class, yet. At this point in my code, I'd appreaciate editing and help with how to return the word format that should be printed on my vitural check.
my code:
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 6 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY