Skip to content

Latest commit

 

History

History
48 lines (26 loc) · 1.58 KB

File metadata and controls

48 lines (26 loc) · 1.58 KB

Java Programming - Assignment

This is a part of Java Programming Assignment 1 (The Documentation)

Assignment Details

  • Name: Xuanao Zhao
  • Intake: 2020 March
  • Program: Diploma In Information Technology
  • Assignment: Assignment 1
  • Question: Question 1

Content

Program Description

This program is to calculate Cartons, Cost and Profit from inputted Milk Production in Liters

Design (Flowchart or UML diagram)

image-20201030181010951

How To Use (Expected Inputs and Outputs, Steps)

When you first load up, you can see a window showing you the instructions, an input field and a button says "Cauculate".

image-20201030181503872

Enter some milk amount in liters to the input field

image-20201030181447939

Press calculate, a new window will show you the calculation result

image-20201030181432199

Press OK to close the result window.

If you enter something other then valid numbers such as English Text or Negative Number, an error will be shown

image-20201030181402823

Press OK to close the error window.

Press the X button on the top bar will exit the application.

image-20201030181629158