goldy300
Reaction score
0

Profile posts Latest activity Postings About

  • you know how to give input to a function through form.


    Let 2 numbers are no1 and no2
    Now write a function with this code

    if(no1 > no2){
    alert("Larger Number is " +no1);}
    else if(no1 < no2){
    alert("Larger Number is " +no2);
    }

    else{
    alert("Numbers are equal ");
    }
  • Loading…
  • Loading…
  • Loading…
Top