Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 752 Bytes

File metadata and controls

17 lines (11 loc) · 752 Bytes

Exercise - Blocks in Flow

  1. In FlowProducts.
  2. After the Product Name display two message box :
    1. First message box will show "Right now at the " + "morning" or "evening", according to the current time. (use Time.Now.Hour and a new method that will return the PArt of day).
    2. Second message box will show "you have total value of " + UnitsInStock times Units On Order. (use a new method that will return the total value)
  3. Save changes to Git.
  4. Build and test.
  5. make the two message box show only if you have Units In Stock and on Order
  6. Save changes to Git.
  7. Build and test.
  8. If you do not have Units In Stock or on Order, show a message box "There is an error in calculation".