+ 2
Input. Is india. . Output is 1nd2a
how to make it https://code.sololearn.com/Wnc1H3jaH0ua/?ref=app
2 Answers
+ 15
pseudocode:
string in
input in
if in == "india":
print "1nd2a"
+ 2
use function please :)
âââ
//You can add your number
var rand = ["a", "b", "c", " d"];
var cont = Math.floor(Math.random() * rand.length);
alert(rand[cont]);