Postingan

Menampilkan postingan dari 2016

Final Project (Vending Machine)

Gambar
Vending Machine  adalah mesin yang digunakan untuk mengeluarkan/menjual produk secara otomatis tanpa ada operator. Dalam program ini, vending machine yang kami buat digunakan untuk menjual minuman dengan menggunakan Emoney Mandiri. Class yang dibuat untuk membuat Vending Machine yaitu: 1. Emoneydatabase 2. Account 3. Balance inquiry 4. Transaksi 5. withdraw 6. Vending machine 7. screen 8. keypad 9. baveragedispenser 10. Case study

Convert Binary to Decimal

Gambar
Source code: Output:

Convert Decimal to Hexadecimal

Gambar
Source code: Output:

Convert Fahrenheit to Celcius

Gambar
Source code: Output:

Penjumlahan Matrix

Gambar
Source code: Output:

Transpos Matrix

Gambar
Source code: Output:

Multiplication Table

Gambar
Source code: Output:

Binary Search

Gambar
Source code: Output:

Simple For loop Example

Gambar
Source code: Output:

Increment and Decrement Operators Example

Gambar
Source code: Output:

Modulus Operator Example

Gambar
Source code: Output:

Generate Pyramid For a Given Number Example

Gambar
Source code: Output:

Java Palindrome Number Example

Gambar
Source code: Output:

Calculate Average value of Array elements using Java Example

Gambar
Source code: Output:

Infinite For loop Example

Gambar
Source code: Output:

Java Fibonacci Series

Gambar
Source code: Output:

If statement Example

Gambar
Source code: Output:

If Else statement Example

Gambar
Source code: Output:

Compare Two Numbers Java Example

Gambar
Source code: Output:

Penjualan IF ELSE

Gambar
Source code: Output:

Java Program to display first n or first 100 prime numbers

Gambar
Source code: Output:

Find floor value of a number using Math.floor

Gambar
Source code: Output:

do-while loop example

Gambar
Source code: Output:

Java Program to get input from user

Gambar
Source code: Output:

Bubble Sort

Gambar
Source code: Output:

Find absolute value of float, int, double and long using Math.abs

Gambar
Source code: Output:

int to String Example

Gambar
Source code: Hasilnya:

Java Char Example

Gambar
Source code: Hasilnya:

Java byte Example

Gambar
Source code:  Hasilnya:

Java boolean Example

Gambar
Source code: Hasilnya:

Swap Numbers Without Using Third Variable Java Example

Gambar
Source code: Hasilnya:

Swap Numbers Java Example

Gambar
Source code: Hasilnya:

Reverse Number using Java

Gambar
Source Code: Hasilnya:

Java Factorial Using Recursion Example

Gambar
Source code: Hasilnya:

Java Factorial Example

Gambar
Source code: Hasilnya:

Find Largest and Smallest Number in an Array Example

Gambar
Source code: Output: