Professional Documents
Culture Documents
No 2 3
No 2 3
*/
package minggu1;
import java.util.Scanner;
/**
* @author ATMAYANTI
*/
/**
*/
System.out.println(substring);
int n = parseInt;
System.out.println("n = "+n);
if (parseInt<10){
n += 10;
if (i>6){
} else {
} else {
int m = n/7;
int l = n%7;
}
/*
*/
package minggu1;
import java.util.Scanner;
/**
* @author ATMAYANTI
*/
/**
*/
String cabang[] = {"RoyalGarden 1", "RoyalGarden 2", "RoyalGarden 3", "RoyalGarden 4"};
int stok[][] = {{10, 5, 15, 7}, {6, 11, 9, 12}, {2, 10, 10, 5},{5, 7, 12, 9}};
System.out.println("=======================ROYAL
GARDEN==========================");
System.out.println(bunga[0]+"|"+bunga[1]+"\t\t|"+bunga[2]+"\t|"+bunga[3]+"\t\t|");
System.out.println("\n============================================================");
int aglonema = 0;
int alocasia = 0;
int mawar = 0;
if (i==0){
System.out.println("\n============================================================");
stok[i][0] -= 1;
stok[i][1] -= 2;
stok[i][2] -= 0;
stok[i][3] -= 5;
System.out.println(stok[i][0]);
System.out.println(stok[i][1]);
System.out.println(stok[i][2]);
System.out.println(stok[i][3]);
}
for (int j=0; j<stok[0].length; j++){
if (j==0){
aglonema += stok[i][j];
else if (j==1){
keladi += stok[i][j];
else if (j==2){
alocasia += stok[i][j];
else if (j==3){
mawar += stok[i][j];
System.out.println("\n============================================================");
System.out.println("\n============================================================");
//penghasilan
System.out.println("\n============================================================");
System.out.println("\n============================================================");