Paper Details  
 
   

Has Bibliography
1 Pages
185 Words

 
   
   
    Filter Topics  
 
     
   
 

html programme

*HTML**HEAD**SCRIPT LANGUAGE="JavaScript"**!– Use of switch statement –*var choice, // Define user's choicegradePlus, // the Plus of letter gradegrade, // the letter gradegradeMinus, // the Minus of letter gradeinputValid = true; // Variable to store if input is validchoice = window.prompt("Select one of the lettergrades A, B or C n" +"To find Minimum Mark Requirements.", "A");switch (choice) {case "A":{ gradePlus = "92 for A+, " ;grade = "88 for A and " ;gradeMinus = "82 for A_." } break ;case "B":{ gradePlus = "78 for B+, " ;grade = "74 for B and " ;gradeMinus = "70 for B_." } break ;case "C":{ gradePlus = "66 for C+, " ;grade = "62 for C and " ;gradeMinus = "58 for C_." } break ;default:inputValid = false;}if(inputValid == true)document.writeln(gradePlus + "n" + grade +"n" + gradeMinus);elsedocument.writeln("Invalid choice: " + choice) ;*/SCRIPT**/HEAD**BODY**P*Click Refres (or Reload) to run the script again*/P**/BODY**/HTML*...

Page 1 of 1 Next >

    More on html programme...

    Loading...
 
Copyright © 1999 - 2024 CollegeTermPapers.com. All Rights Reserved. DMCA