Calculator Join Us

Join Us Calculator

Join Us – Eligibility Calculator

Calculate your eligibility and benefits when joining us.

High School Bachelor’s Degree Master’s Degree Doctorate Entry-level Mid-level Senior-level

Eligibility Status: Not Calculated Yet

function calculateEligibility(){ const age = parseInt(document.getElementById(“age”).value); const experience = parseInt(document.getElementById(“yearsExperience”).value); const degree = document.getElementById(“degree”).value; const skillLevel = document.getElementById(“skillLevel”).value; if(isNaN(age) || isNaN(experience)){ alert(“Please enter valid positive values for age and years of experience.”); return; } let eligibility = “Not Eligible”; if (age >= 21 && experience >= 2) { if (degree === “bachelor” || degree === “master” || degree === “doctorate”) { eligibility = “Eligible”; } if (skillLevel === “senior” && experience >= 5) { eligibility = “Eligible with Senior Benefits”; } } document.getElementById(“eligibilityResult”).innerText = eligibility; }

Leave a Reply

Your email address will not be published. Required fields are marked *