项目作者: CSchnelle

项目描述 :
Sort change by denomination
高级语言: Java
项目地址: git://github.com/CSchnelle/Change-Sort.git
创建时间: 2019-08-31T14:23:03Z
项目社区:https://github.com/CSchnelle/Change-Sort

开源协议:

下载


Change Sort

Sort change by denomination
Project Instructions:

  • Part 1:
  • Write a program that asks the user input a change between 1 and 99 cents.
  • The program will display it in amount of quarters, dimes, nickels, and pennies.
    *
  • Part 2: Comment away user input. Replace by code that randomly generates a change
  • between 1 and 99 cents, inclusive.

How to run program:

Install Java:
https://java.com/en/download/help/download_options.xml

Open CMD or Terminal and go to the directory where you’ve downloaded the Java file.
Use the java command to execute the file: “java Project02.java”