int x = 5;
int y = 100;
String z = "test";
float f1 = 5.67;
float f2 = 77.45;
bool b1 = true;
bool b2 = false;
int a[] = {1,3,5,7,9,11};
String s[] = {"Senin","Selasa","Rabu","Kamis","Jumat","Sabtu","Minggu"};
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
/*
if (b2 != true) {
Serial.println(z);
} else {
Serial.println(f1);
}
Serial.println(a[0]);
Serial.println(a[1]);
Serial.println(a[4]);
Serial.println(s[0]);
Serial.println("Hari ini adalah hari: " + s[6]);
Serial.println(s[0]);
Serial.println(s[1]);
Serial.println(s[2]);
Serial.println(s[3]);
Serial.println(s[4]);
Serial.println(s[5]);
Serial.println(s[6]);
*/
for (int i=0; i<=6;i++) /*for adalah koding pengulangan, i adalah penyederhanaan dari koding di atas*/{
Serial.println(s[i]);
delay(500);
}
}
void loop() {
// put your main code here, to run repeatedly:
}