Created
March 2, 2019 09:00
-
-
Save ousam-ha/057a1cae67c08a09b4e1d31f5b900cef to your computer and use it in GitHub Desktop.
jhamousam created by MousamJha - https://repl.it/@MousamJha/jhamousam
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
number = 10; | |
counter = 1; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 2; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 3; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 4; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 5; | |
result = number * counter; | |
console.log(counter,"*",number," = ",result); | |
counter = 6; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 7; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 8; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 9; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 10; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); |
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
number = 10; | |
counter = 1; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 2; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 3; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 4; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 5; | |
result = number * counter; | |
console.log(counter,"*",number," = ",result); | |
counter = 6; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 7; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 8; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 9; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); | |
counter = 10; | |
result = number * counter; | |
console.log(counter,"*",number,"=",result); |
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
a = 10; | |
b = 2; | |
c = 9; | |
sum = a+b+c; | |
subtraction = a-b; | |
multiplication = a*b*c; | |
divison = a/b; | |
float = c/b; | |
remainder = c%b; | |
console.log("Sum = ",sum); | |
console.log("Difference = ",subtraction); | |
console.log("Product = ",multiplication); | |
console.log("Divison = ",divison); | |
console.log("Decimal Point = ",float); | |
console.log("Remainder = ",remainder); |
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
player_1 = "Sachin Tendulkar"; | |
player_2 = "Sourav Ganguly"; | |
playe_3 = "Rahil Dravid"; | |
playe_4 = "VVS Laxman"; | |
console.log(player_1); | |
console.log(player_2); | |
console.log(playe_3); | |
console.log(playe_4); | |
console.log(player_1,player_2,playe_3,playe_4); | |
console.log(player_1,"\n",player_2,"\n",playe_3,"\n",playe_4); | |
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
first_name = "Mousam"; | |
second_name = "Jha"; | |
full_name = first_name + second_name; | |
console.log(full_name); |
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
number = 7; | |
counter = 1; | |
result = number * counter; | |
console.log(number, "*", counter, "=", result); | |
counter = 2; | |
result = number * counter; | |
console.log(number, "*", counter, "=", result); | |
counter = 3; | |
result = number * counter; | |
console.log(number, "*", counter, "=", result); | |
counter = 4; | |
result = number * counter; | |
console.log(number, "*", counter, "=", result); | |
counter = 5; | |
result = number * counter; | |
console.log(number, "*", counter, "=", result); | |
counter = 6; | |
result = number * counter; | |
console.log(number, "*", counter, "=", result); | |
counter = 7; | |
result = number * counter; | |
console.log(number, "*", counter, "=", result); | |
counter = 8; | |
result = number * counter; | |
console.log(number, "*", counter, "=", result); | |
counter = 9; | |
result = number * counter; | |
console.log(number, "*", counter, "=", result); | |
counter = 10; | |
result = number * counter; | |
console.log(number, "*", counter, "=", result); | |
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
first_name = "Mousam"; | |
date_of_birth = 1993; | |
console.log(first_name); | |
console.log(date_of_birth); | |
console.log("Welcome to JavaScript"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment