javascript find max between two numbers

javascript find max between two numbers

GTU WTAD Practical 5 : Write a JavaScript to generate two random numbers and find out maximum and minimum out of it.

javascript find max between two numbers

This JavaScript Example Explains the use of random method of Math Class in JavaScript. Here using random method i have generated two numbers and after i will verify maximum and minimum out of both number. Random number is very useful in any programming language, specially to generated OTP like code or to generate unique number to verify users. You can modify this example and use it as per your requirements.

File Name : index.jsp

File Location : Tomcat_Apache\webapps\gtu_05\

 

Output

GTU WTAD Practical 5

 

 

Adarsh Patel

My Self Adarsh Suryakant Patel. Currently I am working as Assistant Professor at Parul Instiute of Engineering and Technology, MCA Department, Limda, Vadodara. Major Responsibility : * Lectures * Organizing Training and Expert Sessions for * Placement and Recruitment * Faculty Representative