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
Yakvenalex [24]
3 years ago
9

Write an if/else statement that assigns 0 to x when y is equal to 10; otherwise it should assign

Computers and Technology
1 answer:
Liono4ka [1.6K]3 years ago
7 0

Answer:

if(y==10)

{

     x=0;   // assigning 0 to x if y equals 10.

}

else

{

   x=1;   // assigning 1 to x otherwise.

}

Explanation:

In the if statement i have used equal operator == which returns true if value to it's right is equal to value to it's left otherwise false.By using this operator checking value of y and if it is 10 assigning 0 to x and if it is false assigning 1 to x.

You might be interested in
For your biology class, you will be giving a presentation of the findings of a plant growth experiment. Which application is bes
ICE Princess25 [194]

Answer: Powerpoint

Explanation: Easy to give graphs and add pictures. You can also add shapes to create a bar graph if needed.

6 0
4 years ago
Beth is a software developer who is focused on identifying early-stage interface problems. Beth addresses the dimension of usabi
stepladder [879]

The dimension of usability that is being addressed by Beth is known as efficiency.

<h3>The dimension of usability.</h3>

In Usability Engineering, there are five (5) qualities of a usable product suggested by Jakob Nielsen and these include the following:

  • Learnability
  • Memorability
  • Efficiency
  • Errors (low rate, easy to recover)
  • Satisfaction

In this scenario, we can infer and logically deduce that the dimension of usability that is being addressed by Beth is known as efficiency because she's focused on identifying early-stage interface problems in software.

Read more on software here: brainly.com/question/26324021

#SPJ1

3 0
2 years ago
A ____ is text and graphics that print at the bottom of every page.
oksano4ka [1.4K]
Foot note, or footer.
6 0
4 years ago
Hello can someone help with the output of this please?
Gelneren [198K]

Answer:

its a diamond shape

Explanation:

i did it on desmos please give brainliest please and good luck :)

8 0
2 years ago
Edhesive 7.2 code practice Write a function named ilovepython that prints out I love Python three times. Then, call that functio
Marysya12 [62]

Answer:

def i_love_python():

   for _ in range(3):

       print("I love Python")

i_love_python()

Explanation:

3 0
3 years ago
Other questions:
  • After applying transitions to his presentation, Omar uses the Slide Show feature to view the them. He notices that the transitio
    9·2 answers
  • In Microsoft word,when you highlight existing text you want to replace ,you’re in?
    12·1 answer
  • Which tag will you use if you want your web page to look the same as your source code?
    11·1 answer
  • A(n ________ is information that is passed to a function, and a(n ________ is information that is received by a function.
    15·1 answer
  • How can the storage model assist in the design of storage networks?
    12·1 answer
  • Out of a list of the values 8, 3, 30, 5, 15, and 6, what result would the MIN function return?
    9·2 answers
  • What is an example of CT SO?
    9·1 answer
  • I have a question. This question will probably be deleted, but why do moderators keep deleting my answers when they are legitima
    13·1 answer
  • Can someone answer this ?
    7·1 answer
  • HELP! WILL GIVE BRAINLYEST!
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!