1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
algol [13]
4 years ago
11

Fill in the missing statements or expressions in the following code that checks to ensure that a user enters an integer value at

the prompt: var purchase = parseInt(prompt("How many do you want?"," ")); var check = __________; while (__________) { purchase = parseInt(prompt("Enter a whole number:", " ")); ___________________; }
Computers and Technology
1 answer:
vitfil [10]4 years ago
5 0

Answer:

The correct fill in the blanks in the given question is given as

var check = num.isInteger(purchase); // giving the input by the user--(1)

      while(!check)  // check the condition .......(2)

      {

check = num.isInteger(purchase);  // taking by the user  in the "num" ..(3)                  

      }

Explanation:

Following are the description of solution

  • In the first statement, we Taking the input in the "check" variable. This statement num.isInteger(purchase); is taking the input and convert this into an "integer" type.
  • The while(!check) is checking and controlling the condition of a while loop.
  • Finally, we taking the input inside the while loop to regulate the condition of while loop.
You might be interested in
What font family is Times New Roman an what font family is Arial?
Alexxandr [17]

Answer:

Some Font Examples

Generic Font Family                 Examples of Font Names

Serif                    Times New Roman Georgia Garamond

Sans-serif                          Arial Verdana Helvetica

Monospace                     Courier New Lucida Console Monaco

Cursive                        Brush Script MT Lucida Handwriting

Explanation:

hope it help

4 0
3 years ago
Read 2 more answers
Write a program to print the value of a series of numbers from0-9 in descending order
steposvetlana [31]
This is the simplest way obviously this is ascending

print ("0")
print ("1")
print ("2")
print ("3")
print ("4")
print ("5")
print ("6")
print ("7")
print ("8")
print ("9")
6 0
3 years ago
_____ refers to the busiest calling hour of the day, week, month or year. And _____ refers to the average length of time the sub
Butoxors [25]

Answer: a) busy hour  b) Average handle time.

Explanation:

a) In order to design a telephony circuit, trunk, or call center, it is needed to take into account the busiest calling hour (as a "sliding" 60-minute period) in one day, or week, month or year, generally calculated as an average.

This period is called the "busy hour" and is used to compute the traffic intensity, in Erlangs, considering that if the circuit is busy 100% of the time during 3600 seconds, it will be cursing 1 Erl of traffic.

This traffic can result from 60 calls of 1 min each, 36 calls of 100 sec each, or any combination that have the same outcome of 1 Erl.

b) In order to define, for instance, the number of employees in a call center, a very important parameter is the average time used for each call, adding the queuing time, the true talk time and any other time needed to  set up a successful call, i.e., the time that the subscriber stays on the phone after putting the call.

This time is known as AHT (Average Handle Time).

3 0
4 years ago
Write a function called st_dev. st_dev should have one
aleksandrvk [35]
Huluttttttt!!! greggyffh
8 0
2 years ago
Every javafx main class __________. group of answer choices implements javafx.application.applicatio extends javafx.application.
sergiy2304 [10]

Two concepts central to JavaFX are a stage and a scene.

5 0
3 years ago
Other questions:
  • Which Azure service should you use to correlate events from multiple resources into a centralized repository?
    5·1 answer
  • I’m having trouble with my computer. It’s stuck on this automatic repair screen and every time I try to reset it, it says “Your
    5·1 answer
  • What is the recommended size for bulleted text?
    5·2 answers
  • Select the components of a search engine.
    13·2 answers
  • Name the different tools used byMMDB.
    14·1 answer
  • Which of the following illustrates an example of a Boolean data type?
    9·1 answer
  • Write the equivalent c++ expression for the following algebraic expressions
    11·1 answer
  • It is possible to collaborate on a presentation with a group of people using the Internet.
    14·1 answer
  • Imagine a switch with three configured VLANs. How many IP subnets are required, assuming that all hosts in all VLANs want to use
    14·1 answer
  • Why does rating an incorrect answer as 1 star raise its score on brainly?
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!