# Could I get some help with the following Task? The program should be implemented in JavaScript and running on Firefox,

###### Question:

Could I get some help with the following Task?

The program should be implemented in JavaScript and running on Firefox, a web browser independent to operating systems. The client has specified the following requirements for the functionality of the program:

1. The program should be running without errors throughout two Phases: Information Gathering and Information Presenting.

2. Information Gathering is to gather the information such as state/territory name, the population and population change over previous year for calculation of APG;

3. The program should first confirm with the user for willingness of entering a new state/territory before proceeding to gather information of the state/territory name, population and population change over previous year for calculation.

4. When receiving a new entry for a state/territory, the program should first prompt and ask the user to enter the state/territory name. If the user enters nothing or an invalid state/territory name, the program should alert an error message on screen and then prompt the user to re-enter. The process should iterate until a state/territory name is entered.

5. If the entered state/territory name is valid, the program should then prompt the user to input the population and population change over previous year for the state/territory. Again, if nothing or an invalid value is entered, the program should display an error message then iterate until receive valid population and population change over previous year value.

6. After valid input of state/territory name, the population and population change over previous year, the program should loop back to seek user confirmation for either proceeding to add one more state/territory or moving to the Information Presenting phase to calculate and display the results;

7. If the user confirms no more state/territory to enter, the Information Gathering phase is completed and the program then moves to Information Presenting.

8. In the Information Presenting phase, the program prints on the web page a table containing all entered state/territory(s), including information such as state/territory name, the population and growth rate (Growth rate = population change over previous year/ population).

9. To make the APG calculator user-friendly, the client also expects the program to display some statistic information: - The state/territory(s) with the highest growth rate; -

#### Similar Solved Questions

##### N=pq with p,q distinct odd primes. Give an expression for the order of (Z/NZ)x in terms of p and q. Then, give an expression for the maximum order of a single element in (Z/NZ)x in terms of p and q.Wh...
N=pq with p,q distinct odd primes. Give an expression for the order of (Z/NZ)x in terms of p and q. Then, give an expression for the maximum order of a single element in (Z/NZ)x in terms of p and q.Why does that imply that there does not exist a primitive root modulo N?...
##### Find the maximum Find the maximum velocity of the mass. A 2.0 g bullet at 30...
Find the maximum Find the maximum velocity of the mass. A 2.0 g bullet at 30 degree C is tired at 200 m/s at a large block of ice at 0 degree C and get stuck there. As a result of this, some. but not all, of the ice melts. What is the final temperature of bullet? Find how much mass of the ice melts ...
##### N's office building with an adjusted basis of $750,000and a fair market value of$900,000 is...
n's office building with an adjusted basis of $750,000and a fair market value of$900,000 is condemned on 8. Sam is a calendar year taxpayer. He receives a condemnation award of $875,000 on March 1, Whe, s a new office building at a cost of$845,000 which is completed and paid for on December 31...
##### Choose the correct answer below
The equation of the function h(x) that is a reflection of graph of g(x) about the x-axis is given by which of the following?A) h(x)=h(x)B) h(x)=-g(x)C) h(x)=g(-x)D) h(x)=h(x)/g(x)...
##### Typed please Question Set 1 A nurse shared the following on her Facebook page: “I just...
typed please Question Set 1 A nurse shared the following on her Facebook page: “I just saw a famous person at the hospital! I think he was just visiting his mom. He just as gorgeous in person as he on TV – he definitely lives up to his ‘Dr. McDreamy’ name!” What are the...
##### Due Tuesday Problem Set 7 Econ 2301 Feb 18 Name 1. If the exchange rate between...
Due Tuesday Problem Set 7 Econ 2301 Feb 18 Name 1. If the exchange rate between the US and Mexico let's look at price of one dollar in Mexican pesos) changes from 12 pesos = $1 to 18 pesos =$1 (as happened between about 2013 and spring 2016), a. the dollar has appreciated in value b. the peso h...
##### What the is the polar form of y^2 = (x-3)^2/y-x^2 ?
What the is the polar form of y^2 = (x-3)^2/y-x^2 ?...
##### Robert’s demand curve for good X is given by the equation X = 100 - 2PX....
Robert’s demand curve for good X is given by the equation X = 100 - 2PX. (5 points) a. What is the elasticity of demand at the point X=20, PX =40? (5 points) b. If price falls from PX =40 to PY =35, what happens to total spending for X and what does this imply about the elasticity of demand? (...
##### Part A and Part B for reference: Chapter 18 <Chapter 18 Byproducts of Burning Fossil Fuels...
Part A and Part B for reference: Chapter 18 <Chapter 18 Byproducts of Burning Fossil Fuels © 10 0f 15 > Review Constants Periodic Table Coal is a fossil fuel made primarily of carbon, but it also contains sulfur among other elements. Submit Previous Answers When carbon, C, burns in air, ...
##### Express each of the following expressions in the form nPr or in the form nCr a
express each of the following expressions in the form nPr or in the form nCra. 27x26x25x24/4x3x2x1b. 30x29x28x27x26...
##### Show Attempt History Current Attempt in Progress Splish Inc. reported income from continuing operations before taxes...
Show Attempt History Current Attempt in Progress Splish Inc. reported income from continuing operations before taxes during 2020 of $796,800. Additional transactions occurring in 2020 but not considered in the$796,800 are as follows. 1. The corporation experienced an uninsured flood loss in the amo...
##### What does a correlation coefficient of 0 indicate? Choose the correct answer below. O A. There...
What does a correlation coefficient of 0 indicate? Choose the correct answer below. O A. There is no linear relationship between the two quantitative variables. O B. There is a weak relationship between the two quantitative variables. O C. It indicates a calculation error, as the correlation coeffic...