Question: Im trying to write a script that reads an integer and outputs HTML5 text that displays whether its odd or even, having trouble, using Notepad

Im trying to write a script that reads an integer and outputs HTML5 text that displays whether its odd or even, having trouble, using Notepad for Windows, I saw this question a while back but the answer was quite confusing can anyone help?

Im trying to write a script that reads an integer and outputs

Chapter6.html - Notepad File Edit Format View Help html>

Displays if a number is Odd <script type="text/javascript"> or Even</script>

//Declare variables var numb18 //converts to integer num = parseInt( num ); //write to output if( num % 6 = 0 ){ document.write(% + ""); if( num % 6! = 0 ){ document.write(% + ""); //end itf

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!