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
| const filterFunction = (list, options) => { | |
| switch (options.option) { | |
| case 'age': | |
| return filerByAgeRange(list, options.payload); | |
| case 'name': | |
| return filerByNames(list, options.payload); | |
| case 'location': | |
| return filterByLocation(list, options.payload); | |
| } | |
| }; |
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
| #include <iostream> | |
| using namespace std; | |
| int main() { | |
| char pilihan, ulangi; | |
| int i,n=1; | |
| // diketahui | |
| double kb = 0.52, kf = 1.86, nTerlarut = 0.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
| #include <iostream> | |
| #include <math.h> | |
| using namespace std; | |
| int main() | |
| { | |
| int n, counter; | |
| double penampungNilaiF[n], ek[n]; | |
| double f0 = 5000; |
NewerOlder