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

Explain what occur when an object is created in java, Explain what occur wh...

Explain what occur when an object is created in Java?

Defiine the term object, Defiine the term Object ? Object is a named co...

Defiine the term Object ? Object is a named collection of properties (data, state) & techniques (instructions, behavior). Mainly Objects are key to understanding object-oriente

Use of unicastremoteobject in rmi, What is the use of UnicastRemoteObject i...

What is the use of UnicastRemoteObject in RMI? Ans) The UnicastRemoteObject class gives support for point-to-point active object references using TCP streams. Objects that need

Illustrate dynamic vs. static class loading?, 1. "Classes are statically lo...

1. "Classes are statically loaded with Java's "new" operator." This would imply that static methods could be executed without the class being loaded. 2. "Unlike the static loa

Development of an application using jade agent toolkit, You need to build a...

You need to build an agent system using the JADE Toolkit that allows the lecturer of FIT5031 to broadcast their availability and arrange for consultation with students in a dynamic

What are inner beans, When wiring beans, if a bean element is embedded to a...

When wiring beans, if a bean element is embedded to a property tag directly, then that bean is said to the Inner Bean. The disadvantage of this bean is that it cannot be reused any

Create an applet for grid layout, Take the Student Choice GUI you created i...

Take the Student Choice GUI you created in Assignment and convert it to an applet.  Because standalone GUI applications and applets are so similar, a lot of the code should be reus

Lesson 20 project How far to the Line, I do not understand how to do this? ...

I do not understand how to do this? can someone help me?

Bi-lingual site for the mitzpe apiary, Bi-lingual site for the Mitzpe apiar...

Bi-lingual site for the Mitzpe apiary Project Description: We require a bi-lingual website built in 14 days. The Mitzpe Apiary is a new company that was started by local e

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