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
/* | |
* created on : 23 March 2017. | |
* aim : To calculate the factorial of 10. | |
* coded by : Rishikesh Agrawani. | |
*/ | |
class Main | |
{ | |
public static void main(String[] cmdArgs) | |
{ |
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
/* | |
* created on : 23 March 2017. | |
* aim : To find out duplicated numbers between 1 to n numbers. | |
* coded by : Rishikesh Agrawani. | |
*/ | |
import java.util.ArrayList; | |
import java.util.Scanner; | |
class Main | |
{ | |
public static void main(String[] cmdArgs) |
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
/* | |
* created on : 23 March 2017. | |
* aim : To remove duplicates from sorted array. | |
* coded by : Rishikesh Agrawani. | |
*/ | |
import java.util.Scanner; | |
import java.util.ArrayList; | |
class Main | |
{ |
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
/* | |
{ | |
"created_on" : "28/03/2017", | |
"aim" : "To use array in javascript", | |
"coded_by" : "Rishikesh Agrawani" | |
} | |
*/ | |
/*Displaying all the elements of an array*/ |
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
/* | |
{ | |
"created_on" : "29 march 2017", | |
"aim" : "To use concat() method with arrays and strings", | |
"coded_by" : "Rishikesh Agrawani" | |
} | |
*/ | |
var odds_arr = [ 3, 7, 9, 1, 5 ] |
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
/* | |
{ | |
"created_on" : "29 march 2017", | |
"aim" : "To use array's prototype constructor", | |
"coded_by" : "Rishikesh Agrawani" | |
} | |
*/ | |
//Defining an array of integer items | |
var arr = [ 1, 2, 3, 4, 5, 6, 7 ] |
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
/* | |
{ | |
"created_on" : "29 march 2017", | |
"aim" : "To print ASCII values of all characters of strings in an array", | |
"coded_by" : "Rishikesh Agrawani" | |
} | |
*/ | |
function print_ascii(word){ | |
for(var i = 0; i < word.length; i++) | |
{ |
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
""" | |
{ | |
"created_on" : "30 march 2017", | |
"aim" : "Using list, tuple, dictionary, lambda expression in Python", | |
"python_version" : "2.7.12", | |
"coded_by" : "Rishikesh Agrawani" | |
} | |
""" |
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
/* | |
{ | |
"created_on" : "30 march 2017", | |
"aim" : "Using functions for object oriented programming (for beginners)", | |
"node_version" : "v7.0.0", | |
"coded_by" : "Rishikesh Agrawani" | |
} | |
*/ | |
/* Example 1*/ |