This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 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 | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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"}, | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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"}, |