Answer:
Explanation:
the answer is also in the question. The loop is used to control the number of program execution. So in order not to run forever, the loop should be included inside the loop brackets. Then you can restructure the code as done below.
var numItems = promptNum("How many items?");
var total = 0;
var itemPrice=0;
while (numItems > 0){
itemPrice = promptNum("Enter next item price");
total = total + itemPrice;
numItems = numItems - 1;
}
console.log("The total is" + total);
The value to be displayed will be the total of the item prices inputted.
Answer:
Parameter.
Explanation:
Parameter can be defined as a value that can be passed to a function. This value can be passed to a function either by reference or by value.
This ultimately implies that, parameter variable stores information which is passed from the location of the method call directly to the method that is called by the program.
Basically, parameters can serve as a model for a function; when used as an input, such as for passing a value to a function and when used as an output, such as for retrieving a value from the same function.
Hence, when you create classes or variables in a function, you can can set the values for their parameters.
For example, to pass a class to a family of classes use the code;
\\parameter Name as Type (Keywords) = value;
\\procedure XorSwap (var a,b :integer) = "myvalue"
Answer:
Purchase. The most common types of website conversions are sales. ...
Form submission. The next most common goal for a website conversion is a form submission. ...
Sign-up. ...
Clicking a button. ...
Create an account. ...
Content shares. ...
App install.
Explanation:
hope i helped you
Answer:
computer science
The discipline of computer science includes the study of algorithms and data structures, computer and network design, modeling data and information processes, and artificial intelligence.
Explanation:
hope this helps
brainliest plz
I believe the answer is A. Add animation to clip art and text