How to produce javascript code

Assignment Help Programming Languages
Reference no: EM13935506

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: EM13935506

Questions Cloud

Create two files one first.html and the other first.js : Use comments and lay the code out so it can be easily followed.The lines will display all at once for this assignment.
How it screen countries to determine which are acceptable : If so, how would it screen the countries to determine which are acceptable? For whatever countries that it is willing to consider, should it adjust its feasibility analysis to account for the possibility of kidnapping?
Determine probability that the projects npv will be negative : Tovar's cost of capital is 26%. Determine the expected value of the project's net present value. Determine the probability that the project's NPV will be negative.
Discuss the japanese work ethic : Discuss the Japanese work ethic. Is this comparable to the American work ethic? Japanese corporations typically involve many more organizational levels and people in the development of implementation plans than do U.S. corporations
How to produce javascript code : Using the prompt and alert functions, invite the user to input 5 marks (integers) in the range 0-100.
How an mnc with investment in that country would be affected : From each of the events of the financial crisis, consider how an MNC with investments in that country would be affected and how the MNC might best react.
Provide ten examples of microbiology career specializations : Provide ten examples of Microbiology career specializations. For each example, provide a one sentence description.
What you know about developing ethical cultures : Based on what you know about developing ethical cultures and programs, identify the problems presented by this case. Why do you think the corporate counsel has responded in this way? What will be your response to him, if any
Why international transactions require international trade : Explain why so many international transactions require international trade credit facilitated by commercial banks. Explain the difference in the risk to the exporter between accounts receivable financing and factoring.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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