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
Create a jQuery ready listener that updates the options within the element with ID toCurrency such that: The first element is: S
nlexa [21]

Answer:

Enter USD and select desired currency.

US Dollars (USD): 100.00

Select Currency: Canadian Dollar (CAN)

Canadian Dollar (CAN): 130.00

Explanation:

See full code attached.

5 0
4 years ago
The template code provided is intended to check whether an integer entered by the user is outside of the range 20-29 (inclusive)
Pavlova-9 [17]

import java.util.Scanner;

public class JavaApplication60 {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Enter a number in the twenties");

       int num = scan.nextInt();

   if(num >= 30 || num <= 19){

       System.out.println("That's not in the twenties!");

       num = 25;

   }

   System.out.println("Your number is " + num);

   }

}

This is the complete code including the main class and main method. I hope this helps!

3 0
3 years ago
hi Let's say you graduate from school and you are unemployed or take a low-paying job. What are your debt repayment options if y
maks197457 [2]

Income-Based Repayment would be one of your repayment options.

IBR is an option similar to Pay As You Earn but offers more flexibility. To qualify for an IBR, your prospective payments must be lower than they would be on the Standard Repayment Plan. You can still sign up for an IBR even if you are still unemployed. These plans are solely based on your income. So if you are unemployed, this translates to zero income. As a result, your monthly payment will be $0

4 0
4 years ago
Read 2 more answers
The actual database of active directory shared resources is stored on one or more computers designated as:
Mila [183]

Solution:

It is done by Native Os X command line tool that can do this.

Active Directory, the data store contains database files and processes that store and manage directory information for users, services, and applications. A copy of the data store runs on each domain controller in the forest. The Active Directory data store is often referred to as the directory.

The ideal environment for the data store includes the following:

A domain controller running an operating system in the Windows Server 2003 family and containing hardware that meets the minimum hardware requirements of the edition of the operating system (Windows Server 2003, Standard Edition; Windows Server 2003, Enterprise Edition; or Windows Server 2003, Datacenter Edition)

For environments consisting of multiple domain controllers, the presence of a fully functioning Active Directory replication topology

For environments consisting of multiple domain controllers, the presence of a fully functioning File Replication Service (FRS) topology

A regular backup schedule

Regular monitoring of Active Directory, either through manual review of event logs or through an automated monitoring solution, such as Microsoft Operations Manager (MOM)

This is the required description describes the elements of the Active Directory data store, including its architecture, protocols, interfaces, logical structure, physical structure, processes and interactions, and network ports.


6 0
3 years ago
Who know's web Design
balu736 [363]

Answer: B

Explanation:

inline is the answer

4 0
3 years ago
Other questions:
  • How do all apple phones work?
    7·1 answer
  • 5. If you are 16 to 20 years old, you are __________.
    14·1 answer
  • At the Transport layer of the OSI, what is used to find and communicate with a particular application running on a host?
    7·1 answer
  • You upgrade your network to 1000 Mbps from 100 Mbps. You install a new 1000-Mbps network adapter into your Windows system. You c
    12·1 answer
  • Which of the following would most likely be the target audience for a product
    7·2 answers
  • Cú pháp câu lệnh xóa thủ tục
    12·1 answer
  • Research the significance of the UNIX core of macOS and write a few sentences describing your findings.
    8·1 answer
  • PLS HELP
    8·2 answers
  • What is professional education? <br><br><br><br><br>Please help me to do this.​
    7·2 answers
  • 2. It enables you to gather data on a specific topic. *a.Interviewb.Questionnairec.Surveyd.Research
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!