-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalways.php
More file actions
11 lines (10 loc) · 857 Bytes
/
always.php
File metadata and controls
11 lines (10 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
<?php
////////////////////////////////////////////// Soal 1 ///////////////////////////////////////////////////////
// Andi kebingungan cara memfilter isi array menjadi bilangan genap, bantu andi untuk menyelesaikan masalahnya.//
// //
// Contoh: //
// $arr = [1,2,3,4,5,6,7,8,9,10]; //
// output: [2,4,6,8,10] //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$arr = range(1, 100);
// isi kode kamu dibawah ini