Answers for "check my code javascript free"

0

check my code javascript free

if (str == "March" && num >= 21 && num <= 31){
var Aries = ["Aquarius", "Pices","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Lirbra","Scorpio","Sagittarius","Capricorn"];
for(var i = 0; i < Aries.length ; i++){
    if ((Aries[i] != 'Pices') && (Aries[i] != 'Taurus') && (Aries[i] != 'Virgo') && (Aries[i] != 'Aries') && (Aries[i] != 'Aquarius') && (Aries[i] != 'Scorpio') && (Aries[i] != 'Capricorn') && (Aries[i] != 'Cancer')){
 console.log(Aries[i])}
    }
}
if (str == "January" && num <= 31 && num >= 20){
var Aqurius = ["Aquarius", "Pices","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Lirbra","Scorpio","Sagittarius","Capricorn"];
for(var i = 0; i < Aqurius.length ; i++){
    if ((Aqurius[i] != 'Aries') && (Aqurius[i] != 'Taurus') && (Aqurius[i] != 'Virgo') && (Aqurius[i] != 'Leo') && (Aqurius[i] != 'Aquarius') && (Aqurius[i] != 'Scorpio') && (Aqurius[i] != 'Capricorn') && (Aqurius[i] != 'Cancer')&& (Aqurius[i] != 'Pices')){
 console.log(Aqurius[i])}
    }
}
      if (str == "February" && num >= 20 && num <= 29){
var Pices = ["Aquarius", "Pices","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Lirbra","Scorpio","Sagittarius","Capricorn"];
for(var i = 0; i < Pices.length ; i++){
    if ((Pices[i] != 'Aries') && (Pices[i] != 'Sagittarius') && (Pices[i] != 'Pices') && (Pices[i] != 'Leo') && (Pices[i] != 'Aquarius') && (Pices[i] != 'Gemini')){
 console.log(Pices[i])}
    }
}
    if (str == "April" && num >= 21 && num <= 30){
var Taurus = ["Aquarius", "Pices","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Lirbra","Scorpio","Sagittarius","Capricorn"];
for(var i = 0; i < Taurus .length ; i++){
    if ((Taurus [i] != 'Pices') && (Taurus [i] != 'Taurus') &&  (Taurus [i] != 'Aries') && (Taurus [i] != 'Aquarius') && (Taurus [i] != 'Scorpio') && (Taurus [i] != 'Libra') && (Taurus [i] != 'Leo') && (Taurus [i] != 'Gemini')  && (Taurus [i] != 'Sagittarius')){
 console.log(Taurus [i])}
    }
}
    if (str == "May" && num >= 21 && num <= 31){
var Gemini = ["Aquarius", "Pices","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Lirbra","Scorpio","Sagittarius","Capricorn"];
for(var i = 0; i < Gemini .length ; i++){
    if ((Gemini [i] != 'Pices') && (Gemini [i] != 'Taurus') &&  (Gemini [i] != 'Aries') && (Gemini [i] != 'Aquarius') && (Gemini [i] != 'Scorpio') && (Gemini [i] != 'Cancer') && (Gemini [i] != 'Capricorn') && (Gemini [i] != 'Gemini')  && (Gemini [i] != 'Sagittarius') && (Gemini [i] != 'Virgo')){
 console.log(Gemini [i])}
    }
}
Posted by: Guest on May-12-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language