Skip to content

Instantly share code, notes, and snippets.

View muhajirinlpu's full-sized avatar
🎯
Focusing

Muhajirin Ilyas muhajirinlpu

🎯
Focusing
View GitHub Profile
#include<stdio.h>
int main() {
int nominal[] = {100000, 50000, 20000, 10000, 5000, 2000, 1000, 500, 200, 100};
size_t nominal_size = sizeof(nominal) / sizeof(nominal[0]);
int jumlah;
printf("Masukkan jumlah nominal uang : ");
scanf("%i", &jumlah);
@muhajirinlpu
muhajirinlpu / door.php
Created April 15, 2017 14:39
This is a confused version of door challenge :v
<?php
class Doors
{
protected $doors = [];
protected $round = 0;
const CLOSE = "close";
const HALF_CLOSE = "half_close";
const OPEN = "open";