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
Elodia [21]
3 years ago
8

What is x after evaluating?

Computers and Technology
1 answer:
denis23 [38]3 years ago
4 0

Answer:

3

Explanation:

In programming, there is a lot of conditional operators.

like NOT (&&) operator, OR (||) operator.

similarly, there is an operator called the ternary operator. It takes three operands and it behaves like the if-else statement.

syntax:

(condition) ? expression 1 : expression 2;

Working:

If the condition is true, then it executes the expression 1 and if the condition is false, then it executes the expression 2.

let see the Question,

x=(2>3) ? 2 : 3;

the condition (2 > 3) is false, 2 always less than 3 not greater than 3.

Therefore, it executes the value 3 and assigns to x.

You might be interested in
When a project manager can look at the progress towards the goals set, this is considered...?
Advocard [28]

project strategic planning

6 0
3 years ago
Read 2 more answers
When a ____________ file is opened, it appears full-screen, in slideshow mode, rather than in edit mode.
GrogVix [38]

Answer:

pptx

Explanation:

6 0
2 years ago
Suppose a classmate constructed an electric motor with a solid commutator.that is, the commutator has no split. This solid commu
professor190 [17]
<span><em>The motor would work if using DC current. The split commutator acts to change the AC to DC for the motor.</em>

<em>                              Hope this helps:)</em>

</span>
3 0
4 years ago
Why is it important to evaluate the website on which you plan to shop?
DENIUS [597]
It may not be trustworthy, and you risk identity theft.
4 0
3 years ago
Read 2 more answers
Please help me i’ll give you brainlist
Genrish500 [490]

answer: C

explanation: because it's the biggest of the given platforms

5 0
3 years ago
Other questions:
  • Given input characters for an arrowhead and arrow body, print a right-facing arrow. Ex: If the input is: *
    14·1 answer
  • Being technologically literate requires being able to ______.
    11·2 answers
  • In molecular biology the "alphabet" of genes consists of four chemicals (called nucleotides) represented by the letters A C G T.
    12·2 answers
  • Give the Division Hashing function and the index it maps the key 2000 into, assuming a primary storage area array size of 61 ele
    6·1 answer
  • Classify the following skills: preparing a presentation, rebuilding a car, and solving equations.
    11·2 answers
  • Your program should first save 10 random numbers from 1-100 to an array called aray
    12·1 answer
  • Write a flowchart and program that does the following: Asks the user for the average temperature in each of the last 12 months A
    12·1 answer
  • Engineers perform a(n) blank to compare the possible negative effects of making a decision involving technology with the possibl
    9·2 answers
  • When you first purchase a notebook, make sure you have a ____ CD containing the installed OS so you can recover from a failed ha
    5·1 answer
  • In the earliest stages of human history, what was the only medium?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!