JavaScript for beginners
1.Create an html page, add 3 text boxes in which the user will input 3 numbers :a,b,c
Add a button that, on click, will calculate ((a*b) + (b*c)) / (a+b). The result will be displayed in an alert.
2. Create an html page, add 3 text boxes in which the user will input 3 numbers :a,b,c
Add a button that, on click, will calculate the maximum number of the three. The result will be displayed in an alert. The program should not crash if the user does not input one or two numbers.
Cases:
-If no number is introduced then a message should be displayed asking the user to input at least on number.
-If only one number of the three is introduced, that number is the maximum number.
-If two numbers are introduced then it should be displayed the maximum of the two.
-If three numbers are introduced then it should be displayed the maximum of the three.
3. Create an html page, add 2 text boxes in which the user will input 2 numbers: n and m
Add a button that, on click, will calculate the sum of all even numbers between n and m, regardless id n < m or m < n. The result will be displayed in an alert.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.