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
[ | |
{ | |
tag:['rumah','kamar','setiap hari'], | |
judul:"Do'a Bangun Tidur (1)", | |
arab:"الْحَمْدُ لِلّٰهِ الّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا وَإِلَيْهِ النُّشُوْرِ", | |
latin:"Alhamdulillahilladzi ahyaana ba'da maa amaatanaa wa ilaihinnusyuur", | |
arti:"Segala puji bagi Allah Yang membangunkan kami setelah ditidurkan-Nya dan kepada-Nya kami dibangkitkan", | |
footnote:"HR. Bukhari dalam Fathul Bari: 11/113 dan Muslim: 4/2083" | |
}, | |
{ |
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
public class MyClass { | |
public static void main(String args[]) { | |
System.out.println(reverseint(123)); | |
} | |
static int reverseint(int x){ | |
int rev=0; | |
while(x!=0){ | |
rev = rev*10 + x%10; | |
x=x/10; |
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
public class MyClass { | |
public static void main(String args[]) { | |
System.out.println(polindrome("jeri")); | |
} | |
public static boolean polindrome(String data){ | |
String original,reverse=""; | |
boolean t; | |
original=data; | |
int lenght=original.length(); |
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
function ispolindrome(str){ | |
str =str.toLocaleLowerCase(); | |
return Array.from(str).toString() === Array.from(str).reverse().toString(); | |
} | |
let tes=ispolindrome("katak") | |
console.log(tes) |