Postingan

Hitung Gaji Karyawan PT.Uhuy Makmur

Gambar
Nama :
Rizki Triyadi Putra
 NIM :

161021450015

1.Berikut adalah Source codenya

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package uts2;

/**
 *
 * @author rizky
 */
public class hitunggaji extends javax.swing.JFrame {
    int gajipokok;
    int gajikotor;
    int pajak;
    int gajibersih;
    int t_istri;
    int t_anak;
    int j_anak;
    String t_istri_1;
    String t_anak_1;
    String gajikotor_1;
    String pajak_1;
    String gajibersih_1;


    /**
     * Creates new form hitunggaji
     */
    public hitunggaji() {
        setTitle ("Aplikasi Perhitungan Gaji");
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fo…

Pembayaran/Kasir (TUGAS UAS)

Gambar
*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
/**
 *
 * @author rizky
 */
public class Menu {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
    Scanner input = new Scanner (System.in);
        BufferedReader input2 = new BufferedReader (new InputStreamReader (System.in));
        int i = 0;
        int hargatotal = 0;
        int penampung = 0;
        String menu[] = new String [100];
        int harga[] = new int [100];
        String keputusan="Y";
        String disc;
        int diskon;

        System.out.println("----------------------MENU-----------------------");
        System.out.println("------…