1446T - TA4 - WEEK 9 - TugasKelompok ke-4 Minggu 9...

Info icon This preview shows pages 1–3. Sign up to view the full content.

TugasKelompok ke-4 Minggu 9 Programming Exercise: Buatlahsebuah program untukmemanage data karyawandenganketentuansebagaiberikut: 1. Padaawal program tampilkan data sebagaiberikut: Employee Code Employee Name Employee Salary 101 Dennise 1.500.000 102 Hantze 1.750.000 103 Ferdinand 1.450.000 104 Rosmina 1.850.000 105 William 1.550.000 106 Marlene 1.500.000 107 Suhandi 1.250.000 108 David 1.375.000 109 Ferry 1.945.000 110 Winy 1.745.000 2. Kemudian, tampilkan menu dari program: 1. Sort By Employee Code 2. Sort By Employee Name 3. Simulation Sort By Employee Salary 4. Resetting Data 5. Exit 3. Jika user memilih menu “1” (Sort By Employee Code), maka: Tampilkan data karyawan. Kemudian program akanmeminta user untukmemilihinginmensorting data secara Ascending atau Descending. o Jika user memilihuntukmenampilkan data secara Ascending (dariangkaterkecilkeangkaterbesar), maka program akanmenampilkan data karyawantersebut yang telahtersortingsecara Ascending berdasarkan Employee Code o Jika user memilihuntukmenampilkan data secara Descending (dariangkaterbesarkeangkaterkecil), maka program akanmenampilkan data karyawantersebut yang telahtersortingsecara Descending berdasarkan Employee Code
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

4. Jika user memilih menu “2” (Sort By Employee Name), maka: Tampilkan data karyawan. Kemudian program akanmeminta user untukmemilihinginmensorting data secara Ascending atau Descending. o Jika user memilihuntukmenampilkan data secara Ascending , maka program akanmenampilkan data karyawantersebut yang telahtersortingsecara Ascending berdasarkan Employee Name o Jika user memilihuntukmenampilkan data secara Descending , maka program akanmenampilkan data karyawantersebut yang telahtersortingsecaraDescending berdasarkan Employee Name 5. Jika user memilih menu “3” (Simulation Sort By Employee Salary), maka: Tampilkan data karyawan Kemudian program akanmeminta user memasukkanberapaputaransimulasi bubble/selection/insertion sorting yang inginditampilkan. Validasikanjumlahputaran yang dapatdimasukkan hanyaantara 1 dan jumlahmaksimalputaran.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.
  • Fall '14
  • Unknown
  • Salary, Employee salary, Computer program, System.out.println

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern