getting code, JAVA Programming

Assignment Help:
can i have code on this assignment:
The code in the main method should do the following:

1. Prompt the user for a string input value for the amount in dollars and store it in a variable named input.
2. Convert the string to an integer and store it in the variable named amount. You can assume that the user enters a valid integer number.
3. Print the converter integer
4. Declare the integer variables named hundreds, fifties, twenties, tens, five, twos, and ones.
5. Declare another integer variable named remainingAmount.
6. Compute the hundreds and the remainingAmount. Print the information.
7. Compute the fifties and the remainingAmount. Print the information
8. Compute the twenties and the remainingAmount. Print the information
9. Compute the tens and the remainingAmount. Print the information
10. Compute the five and the remainingAmount. Print the information
11. Compute the twos and the remainingAmount. Print the information
12. Compute the ones and the remainingAmount. Print the information

Related Discussions:- getting code

XML File Homework, I need help on java homework. Is it possible to know the...

I need help on java homework. Is it possible to know the shortest possible time to get the solution before giving my commitment

Student, what are Objects and Fields in java

what are Objects and Fields in java

Describe the concept of constructor chaining, Question: A new software ...

Question: A new software engineer has joined Axistex Ltd. The systems analyst informs him that the organisation works with different operating system. The HR department works w

Thread, create thread without extending anything

create thread without extending anything

How to draw polygons in java, How to draw Polygons in java? In Java rec...

How to draw Polygons in java? In Java rectangles are defined through the position of their upper left hand corner, their height, and their width. Therefore it is implicitly sup

Develop an ehospital project, Develop an ehospital project Project Descr...

Develop an ehospital project Project Description: I am preparing ehopsital project.for the requires of hospital in that patient registration and billing module and stores mod

Why do we need wrapper classes, Why do we need wrapper classes? It is s...

Why do we need wrapper classes? It is sometimes simpler to deal with primitives as objects. Moreover most of the collection classes keep objects and not primitive data types. A

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd