Case Study: Data Structure

Create the Algorithm in Java. The source code must be tested in tools of Java (Eclipse, or other tools)
Here is the Algorithm:

Algorithm Employee_xyz
Declaration
  nama : string
  jjk : integer
  honor : real
Description
  read(nama, jjk)
  if jjk <= 40 then
    honor <-- jjk * 45000
  else
     upah <-- (40 * 45000) - (jjk - 40) * 75000
  endif
  write(honor)

Popular posts from this blog

Introduction to Use Case Diagram - Case study: Facebook

Kenapa tidak berkurban?

Sequential Search