Skip to content

Instantly share code, notes, and snippets.

View bijancot's full-sized avatar
💭
on journey to defeat kaido and become new pirate king

Panji Iman Baskoro bijancot

💭
on journey to defeat kaido and become new pirate king
View GitHub Profile
/*
* 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 pkg04062018_prakprog;
import java.util.Scanner;
/**
*
* @author bijan
/*
* 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 pkg04062018_prakprog;
import java.util.Scanner;
/**
*
* @author bijan
/*
* 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 pkg04062018_prakprog;
import java.util.Scanner;
/**
*
* @author bijan
public class tugas {
public static void main(String[] args) {
boolean a[][] ={
{false,false,false,false,false,false},
{false,true,false,false,false,false},
{true,false,false,false,false,false},
{true,true,false,false,false,false}
};
for (int i = 0; i < a.length; i++) {
/*
* 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.lang.Math;
/**
*
* @author bijan
*/
/*
* 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 pkg23052018_progdas1;
import java.util.Scanner;
/**
*
* @author bijan
import java.util.Scanner;
/**
*
* @author bijan
*/
public class 24052018_pertemuan10n1 {
static int p,l,t;
static Scanner a = new Scanner(System.in);
static int hitung_volume(int panjang,int lebar,int tinggi){
public class 24052018_nomor3 {
public static void main(String[] args) {
String data[][][] = {
{
{"Oet","089332323223","jalan jalan"},
{"ade","087212123222","jalan di tempat"},
{"hendra","083332323223","jalan sana"},
{"tambir","081332323223","jalan yang panjang"},
{"Endang","082332323223","jalan kenanga"},
}
@bijancot
bijancot / 24052018_nomor2.java
Created May 24, 2018 14:53
pertemuan 9 nomor 2 (array)
public class 24052018_nomor2 {
public static void main(String[] args) {
String nama[] = {"Ade", "Ikhsan", "Rama", "Stef", "Endang"};
int nilai[][] = {
{90, 23, 34},
{89, 23, 45},
{23, 100, 23},
{78, 34, 45},
{100, 100, 100}
@bijancot
bijancot / 24052018_array2d.java
Created May 24, 2018 14:51
pertemuan 9 nomor 1
public class 24052018_array2d {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String data[][]= {
{"Oet","089332323223","jalan jalan"},
{"ade","087212123222","jalan di tempat"},
{"hendra","083332323223","jalan sana"},