How to using the prompt and alert functions

Assignment Help Computer Engineering
Reference no: EM1332337

Produce JavaScript code (and any necessary HTML) that will perform the following functions:
1. Using the prompt and alert functions, invite the user to input 5 marks (integers) in the range 0-100.
2. Calculate the average (mean) of the 5 marks as a rounded integer or a floating point number.
3. If the average mark is 0-39, then display a message saying that the grade is a Fail, 40-69 is a Pass, and 70-100 is a Distinction. If the value is less than 0 or greater than 100, display a message saying that there has been an input error.

Reference no: EM1332337

Questions Cloud

Practice question for the sherman act : This post denotes a practice question for the Sherman Act.
Immigration process : Do you think immigration reform will reach a level which will both improve the process for obtaining citizenship and significantly improve the security of our borders?
Description of decision-making process : Compose a description of the decision-making process, including the steps on how to approach the situations, a list of questions if a meeting is granted, or a list of possible reasons for rejecting the meeting.
Suppose the relationships hold true and given performance : Suppose the relationships hold true and given performance below, what salary would you estimate for each player in 2006.
How to using the prompt and alert functions : compute the average (mean) of the 5 marks as a rounded integer or a floating point number.
Pan-european brand in continental europe : Proctor & Gamble's Pert Plus: Is it a Pan European Product?
Escribe the effect of such clauses on both the government : Describe the effect of such clauses on both the government, and other customers, noting, inter alia, the effect on the selling firmâ.
Comapre the advantages and disadvantages of using javascript : comapre the advantages and disadvantages of using JavaScript on the client-side. Where JavaScript is blocked or disabled, does that amount to a potentially significant business loss.
Policy concerning affirmative action : Write a Policy concerning Affirmative Action and keeping in mind that you will have to make your policy agreeable to some degree to all factions.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd