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
vaieri [72.5K]
4 years ago
11

When the code that follows is executed, a message is displayed if the value the user entersvar userEntry = (prompt("Enter cost:"

);if (isNaN(userEntry) || userEntry > 500 ) { alert ("Message");a. isn’t a number or the value in userEntry is more than 500b. isn’t a number and the value in userEntry is more than 500c. is a number or the value in userEntry is more than 500d. is a number and the value in userEntry is more than 500
Computers and Technology
1 answer:
Reika [66]4 years ago
4 0

Answer:

The answer is "Option b".

Explanation:

In the given-code variable "userEntry" is defined that prompt the user to input value and in the next step, the conditional statement is used, which checks the input value is not a number and greater than 500 with use of OR operator. if the condition is true it uses the alert box to print the message, that's why in this question except "choice b" all were wrong.

You might be interested in
Plz help me I will mark as the brainlest I only need long answer plz help me ​
xxTIMURxx [149]

Strategy 1

*Testing for timing, high reliability and performance.

Reasons.

Every device and system configuration must be tested including the software setup,definitions and rules must be tested with an attempt to force the system and its intergrals to fail. Every failure(if there are any) must be evaluated and errors corrected.

Strategy 2

*Measuring response levels at the lowest set point of the alarm.

Reasons.

This is to check the trigger points of the alarms in the system and the response must be recorded as well as changing the intervals of alarm triggers so as to evaluate the time taken for the alarm to respond at the lowest point of it to be triggered.

7 0
3 years ago
04. Suppose a computer program needs to sort a list of student records in ascending order
34kurt

Answer:

D) ["Kathy Bones", "Jill Brewer", "Joe Schnook", "Tom Smith"]

Explanation:

The context of the problem explains a computer program that sorts names in "ascending order" (A to Z) since the ASCII table has capital A start a lower number and it increases from there to capital Z.

Notice how the attached file, which is a portion of the ASCII table, shows that letters after A are also higher in decimal value than the previous letter.

With this in mind, we know that all this program does is sort by last name alphabetical order. From there, just sort the given names using that same criteria, last name alphabetical order, and the correct answer is determined.

<em>Please put "Brainliest" on my answer if it helped you out!</em>

<em>If you want to learn more about this subject, you can search:</em>

<em>- ASCII Table</em>

<em>- Lists in Programming</em>

<em>- Sorting Procedures</em>

7 0
2 years ago
The collections framework algorithms are __________, i.e., each of these algorithms can operate on objects that implement specif
Ad libitum [116K]
<h2><em>C.) Polymorphic.</em></h2><h2><em></em></h2>

Just trust a bro, its correct.

4 0
3 years ago
Read 2 more answers
What error occurs in the following program? #include using namespace std; int main() { int number1, number2, sum; cout &lt;&lt;
Nady [450]

Answer:

1. ‘cout’ was not declared in this scope.

2. ‘cin’ was not declared in this scope.

3. lvalue required as left operand of assignment.

Explanation:

The code gives the error cout and cin was not declare. This error means, we not include the library where they define.

cout and cin is the input/output instruction and they include in the library iostream file.

the last error is lvalue required as left operand of assignment.

lvalue means the assignable value, we actually do the wrong assignment.

number1 + number2 = sum;

here, sum is is the assignment variable. so, it must be in the right side of the '=' operator.

sum = number1 + number2 ;

Now, the above is correct. the value number1 plus number2 is assign to sum.

7 0
3 years ago
Is the following statement TRUE or FALSE?
Musya8 [376]

Answer:

A

Explanation:

click on typeface icon in toolbar menu

6 0
3 years ago
Other questions:
  • Write a program that prompts the user to enter a three digit integer and determine whether it is a palindrome number.
    12·1 answer
  • What range of leakage current must trip an IDCI?​
    15·1 answer
  • What is the process of copying items from ram to a storage device?
    8·1 answer
  • What is difference between rand() and srand() ?
    11·1 answer
  • True or False?Only flying unmanned aircraft over 20lbs requires preparation and safety calculations.
    8·1 answer
  • When you connect a device to your computer for the first time, Windows Media Player selects the ____ method that works best for
    15·2 answers
  • W t f is a ground fault circuit interrupter?
    6·2 answers
  • Help FAST PLS in complete sentences discuss the process used to determine your credit score. Do you think it is fair? Why or why
    14·1 answer
  • What is the first step in finding a solution to a problem? Choose a solution. Think of options to solve the problem. Try the sol
    6·1 answer
  • Explain why people struggle to control themselves when they engage with social media
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!