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

Prepare an android keyboard, Prepare an android keyboard Project Descrip...

Prepare an android keyboard Project Description: I want to prepare an android keyboard that have many features.( i will describe later) I want the full app and a trial ver

State about the jvm, State about the JVM? JVM is the acronym which ...

State about the JVM? JVM is the acronym which stands for 'Java virtual machine'. JVM provides execution environment. JVM isn't platform independent. JVM is Java

Develop a adobe air native extension, Develop a Adobe Air Native Extension ...

Develop a Adobe Air Native Extension Project Description: We are seeking someone that must create an adobe native extension for the subsequent SDK: Develop a Adobe Air Nat

Discuss the purpose and use of the java adapter classes, Question: (a) ...

Question: (a) Discuss the Java approach to event processing by explaining how event handling works in Java. Use an example to support your answer. (b) Explain what is a ‘

What is bit-mapped or raster graphics, What is Bit-Mapped or Raster Graphic...

What is Bit-Mapped or Raster Graphics? Similar as object-oriented graphics, refers to software and hardware which use geometrical formulas to represent images. The other techni

Streaming and decorator construction in java i/o, Java output and input is ...

Java output and input is described in terms of an abstract concept named a " stream ", which is a sequence of data. There are 2 types of streams. 1.      Byte streams (8 bit

Explain java.lang.string library in java, Explain java.lang.string library ...

Explain java.lang.string library in java? Strings are objects. Specifically they're instances of the class java.lang.String . This class has several methods which are useful f

Write a program to find the area under the curve y = f(x) in, #question.Wri...

#question.Write a program to find the area under the curve y = f(x) in java.

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