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...
icon
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: 

 

S MyProgrammingLab
itp 120 final multiple choice pdf x
Q ITP 120 Flashcards | Quizlet
A learn.vccs.edu/courses/438828/assignments/8905899?module_item_id=29249094
Midterm (multiple-choice 40%) x
Student Links - Northern Virgini x
O Important Docs. 401k
S Applications | Rapidldentity
i Spanish
Module 08: Assignment - Chapt x
How to Install Ubun...
O Richmond VA > Hu...
t Tumblr
+
* Apple
G Google
6 CompTIA Learn
P Computer Science.
Sold
Sipa tan
Sresults Sthis odel_extension_extension
(Sresults as Skey Svalue) {
foreach
i (isset(Svaluef "code ])) {
NVCC Spring 2022
6 Student Resources |.
O JAVA NOVA
Carousel.prototype.getItemforDirectie
var delta - direction
var activeindex- this.getItemIndex(active)
var itemindex - (activeIndex delta) I this.$items.length
array();
O Other bookmarks
Home
359
E Reading list
Ssort order
'prev' ? -1:1
361
Announcements
Svaluef "code J;
363
Complete the following assignment
order ');
Syllabus
this.Sitens.eg(itemIndex)
164
Modules
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
Discussions
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
Quizzes
45/100".
Grades
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()
People
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
NOVA Policies
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.
Tutor.com: 24/7
Online Tutoring
"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."
Library Resources
Badges
Sample Input/Output
Enter Full Name
John Smith
Enter Check Number
123
Enter Dollar Amount
123.45
Career Connection
Zoom
Date: 01/01/2021
Paid to the order of :
John Smith
Check #:
123
**** One Hundred and Twenty-Three and 45/00 ****
$
123.45
МЕМО
DOLLARS
123456789
111111111111
Hints: Parsing numbers into individual parts.
G
12:16 PM
3/9/2022
>
e u IH O ©
Transcribed Image Text:S MyProgrammingLab itp 120 final multiple choice pdf x Q ITP 120 Flashcards | Quizlet A learn.vccs.edu/courses/438828/assignments/8905899?module_item_id=29249094 Midterm (multiple-choice 40%) x Student Links - Northern Virgini x O Important Docs. 401k S Applications | Rapidldentity i Spanish Module 08: Assignment - Chapt x How to Install Ubun... O Richmond VA > Hu... t Tumblr + * Apple G Google 6 CompTIA Learn P Computer Science. Sold Sipa tan Sresults Sthis odel_extension_extension (Sresults as Skey Svalue) { foreach i (isset(Svaluef "code ])) { NVCC Spring 2022 6 Student Resources |. O JAVA NOVA Carousel.prototype.getItemforDirectie var delta - direction var activeindex- this.getItemIndex(active) var itemindex - (activeIndex delta) I this.$items.length array(); O Other bookmarks Home 359 E Reading list Ssort order 'prev' ? -1:1 361 Announcements Svaluef "code J; 363 Complete the following assignment order '); Syllabus this.Sitens.eg(itemIndex) 164 Modules 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 Discussions 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 Quizzes 45/100". Grades 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() People 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 NOVA Policies 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. Tutor.com: 24/7 Online Tutoring "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." Library Resources Badges Sample Input/Output Enter Full Name John Smith Enter Check Number 123 Enter Dollar Amount 123.45 Career Connection Zoom Date: 01/01/2021 Paid to the order of : John Smith Check #: 123 **** One Hundred and Twenty-Three and 45/00 **** $ 123.45 МЕМО DOLLARS 123456789 111111111111 Hints: Parsing numbers into individual parts. G 12:16 PM 3/9/2022 > e u IH O ©
O Module 08: Assignment - Chapte x
N Student Links - Northern Virginia X
S Applications | Rapidldentity
O (Spring 2022) ITP 120 (E06L) - JA X
Tutor.com Learning Suite
substring java - Yahoo Search Re X
y! generate check using java code
A learn.vccs.edu/courses/438828/assignments/8905899?module_item_id=29249094
O Important Docs. 401k
A Spanish
O How to Install Ubun..
O Richmond VA > Hu..
O Tumblr
* Apple
G Google O CompTIA Learn
P Computer Science.
O Student Resources |.
O JAVA NOVA
O Other bookmarks
Reading list
if (is
code
364
ort order ,
eturn this.
NVCC Spring 2022
Complete the following assignment
Home
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
Announcements
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".
Syllabus
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
Modules
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
Discussions
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.
Quizzes
"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."
Grades
People
Sample Input/Output
Enter Full Name
John Smith
Enter Check Number
123
Enter Dollar Amount
123.45
NOVA Policies
Tutor.com: 24/7
Online Tutoring
Library Resources
Badges
Date: 01/01/2021
Check #:
123
Career Connection
Paid to the order of :
John Smith
$
123.45
Zoom
**** One Hundred and Twenty-Three and 45/00 ****
DOLLARS
МЕМО
123456789
111111111111
Hints: Parsing numbers into individual parts.
double amount = 123.45;
//Hint 1, Convert to String and inspect characters in the string.
String s = String.valueOf(amount);
System.out.println(s);
int indexOfDecimal = s.indexof(".");
char h = s.charAt(0);
char t = s.charAt(1);
9:40 PM
G
3/12/2022
>
Transcribed Image Text:O Module 08: Assignment - Chapte x N Student Links - Northern Virginia X S Applications | Rapidldentity O (Spring 2022) ITP 120 (E06L) - JA X Tutor.com Learning Suite substring java - Yahoo Search Re X y! generate check using java code A learn.vccs.edu/courses/438828/assignments/8905899?module_item_id=29249094 O Important Docs. 401k A Spanish O How to Install Ubun.. O Richmond VA > Hu.. O Tumblr * Apple G Google O CompTIA Learn P Computer Science. O Student Resources |. O JAVA NOVA O Other bookmarks Reading list if (is code 364 ort order , eturn this. NVCC Spring 2022 Complete the following assignment Home 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 Announcements 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". Syllabus 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 Modules 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 Discussions 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. Quizzes "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." Grades People Sample Input/Output Enter Full Name John Smith Enter Check Number 123 Enter Dollar Amount 123.45 NOVA Policies Tutor.com: 24/7 Online Tutoring Library Resources Badges Date: 01/01/2021 Check #: 123 Career Connection Paid to the order of : John Smith $ 123.45 Zoom **** One Hundred and Twenty-Three and 45/00 **** DOLLARS МЕМО 123456789 111111111111 Hints: Parsing numbers into individual parts. double amount = 123.45; //Hint 1, Convert to String and inspect characters in the string. String s = String.valueOf(amount); System.out.println(s); int indexOfDecimal = s.indexof("."); char h = s.charAt(0); char t = s.charAt(1); 9:40 PM G 3/12/2022 >
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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 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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY