Last active
February 3, 2018 18:35
-
-
Save agneym/5f6b2a77b135d890cc65b6a0777b422f to your computer and use it in GitHub Desktop.
Thengascript Examples.
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> | |
<body> | |
<script src="thengascript.js"></script> | |
<script type="text/thengascript"> | |
ശാശ്വതം ഫിബ് = [0, 1]; | |
കാണിക്കുക(0); | |
കാണിക്കുക(1); | |
ഇന്(var ഐ=ഫിബ്.length; ഐ<10; ഐ++) { | |
ഫിബ്[ഐ] = ഫിബ്[ഐ-2] + ഫിബ്[ഐ-1]; | |
കാണിക്കുക(ഫിബ്[ഐ]); | |
} | |
</script> | |
</body> | |
</html> |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>തേങ്ങാക്കൊല</title> | |
</head> | |
<body> | |
<script src="thengascript.js"></script> | |
<script type="text/thengascript"> | |
ഇന്(ആവട്ടെ ഐ=1;ഐ<100;ഐ++) { | |
ആണെങ്കിൽ(!(ഐ%3)&&!(ഐ%5)) { | |
കാണിക്കുക('സി ഐ ഡി സമൂ'); | |
} അല്ലെങ്കിൽ ആണെങ്കിൽ(!(ഐ%3)) { | |
കാണിക്കുക('മൂ'); | |
} അല്ലെങ്കിൽ ആണെങ്കിൽ(!(ഐ%5)) { | |
കാണിക്കുക('സ'); | |
} അല്ലെങ്കിൽ { | |
കാണിക്കുക(ഐ); | |
} | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
:)