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 App { | |
| public static java.util.Scanner scanner = new java.util.Scanner(System.in); | |
| public static void main(String[] args) throws Exception { | |
| Soal1(); | |
| } | |
| public static int input(String info) { | |
| System.out.print(info + " : "); |
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 App { | |
| public static void main(String[] args) throws Exception { | |
| int i = 1; | |
| int j = 1; | |
| while (i <= 20) { | |
| j = 1; |
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; | |
| public class App { | |
| public static Scanner scanner = new Scanner(System.in); | |
| public static void main(String[] args) throws Exception { | |
| System.out.println("Tipe || Kendaraan"); | |
| System.out.println("1. || Motor"); | |
| System.out.println("2. || Mobil"); |
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; | |
| public class App { | |
| public static String namaBarang; | |
| public static Integer hargaBarang; | |
| public static Integer totalBarang; | |
| public static Integer diskon; | |
| public static Scanner scanner = new Scanner(System.in); |
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; | |
| public class App { | |
| public static Scanner scanner = new Scanner(System.in); | |
| public static void main(String[] args) throws Exception { | |
| Integer tugas = InputInteger("Masukin nilai tugas"); |
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
| int k; | |
| double sin() ,cos(); | |
| main(){ | |
| float A=0, B=0, i, j, z[1760]; | |
| char b[1760]; | |
| printf("\x1b[2J"); | |
| for(; ; ) { | |
| memset(b,32,1760); | |
| memset(z,0,7040); | |
| for(j=0; 6.28>j; j+=0.07) { |
NewerOlder