Skip to content

Instantly share code, notes, and snippets.

View anonemae's full-sized avatar
🏠
Working from home

Anone anonemae

🏠
Working from home
View GitHub Profile
@anonemae
anonemae / App.java
Last active April 29, 2022 22:17
tugas 10 java
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 + " : ");
@anonemae
anonemae / App.java
Created April 23, 2022 08:22
bil prima java
public class App {
public static void main(String[] args) throws Exception {
int i = 1;
int j = 1;
while (i <= 20) {
j = 1;
@anonemae
anonemae / App.java
Created April 16, 2022 06:52
tugas java parkir
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");
@anonemae
anonemae / ex2.java
Created April 9, 2022 07:38
ex2.java
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);
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");
@anonemae
anonemae / donut.c
Created January 9, 2021 06:00 — forked from gcr/donut.c
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) {