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
Serhud [2]
3 years ago
6

Write an if-else statement that assigns 0 to the variable b if the variable a is less than 10. Otherwise, it should assign 99 to

the variable b .
Computers and Technology
1 answer:
barxatty [35]3 years ago
8 0

espanol;

Escriba una declaración if-else que asigne 0 a la variable b si la variable a es menor que 10. De lo contrario, debería asignar 99 a la variable b

<h3>respuesta:</h3><h3><u>Una declaración if le dice al programa que ejecute un bloque de código, si una condición es verdadera. En el siguiente código, escribimos un mensaje solo si x es mayor que 0:</u></h3><h3><u>var x = 5;</u></h3><h3><u /></h3><h3><u>if (x > 0) {</u></h3><h3><u>   text('¡x es un número positivo!', 200, 200);</u></h3><h3><u>}</u></h3>

ingles;

Write an if-else statement that assigns 0 to the variable b if the variable a is less than 10. Otherwise, it should assign 99 to the variable b .

<h3> answer:</h3><h3 /><h3>An if statement tells the program to execute a block of code, if a condition is true. In the following code, we write a message only if x is greater than 0:</h3><h3>var x = 5;</h3><h3 /><h3>if (x> 0) {</h3><h3>   text ('x is a positive number!', 200, 200);</h3><h3>}</h3><h3 /><h3 /><h3>xd </h3>
You might be interested in
Identify some advantages of using Excel over lists, paper files, or simple word documents?
ra1l [238]

Answer:

Explanation:

Difficult to manage advanced pricing rules. ...

Lack of control and security. ...

Excel is vulnerable to fraud/corruption. ...

Excel is susceptible to human error. ...

Excel is difficult to troubleshoot or test. ...

Excel is obstructive to regulatory compliance.

Whether it is family-based planning for a weekly, monthly or yearly calendar or a personal appointment daily planner or a schedule for managing bill payments, homework, favorite sports team's games, and many more, excel can make it easy to compile, filter, search, organize and simplify large amounts of data.

6 0
3 years ago
Information systems security is the collection of activities that protect the information system and the data stored in it.
ivann1987 [24]

Answer:

The answer is A. True.

Explanation:

Information systems security,refers to all the methods involved with assuring information integrity as well as keeping it confidential, and available.

It can also be defined as -

The detection and provisoon of solutions to security breaches.

Access controls, which prevents unauthorized system access.

Protection of information either in transit or in a storage area.

3 0
3 years ago
How can the geographic location of data centers be beneficial for a company that is concerned about sustainability?
goldfiish [28.3K]
Answer : A- by placing data centers in remote areas so that their emissions are less of a concern. B- by allowing the use of renewable local resources such as solar or wind energy
6 0
3 years ago
Write a small program that takes in two numbers from the user. Using an if statement and an else statement, compare them and tel
kap26 [50]

What code is it java, HTML,C++ or lua?  be specific.

4 0
3 years ago
Read 2 more answers
Select the correct answer.
bagirrra123 [75]

Answer:

I think the answer is C

Explanation:

Because if you use context clues for the word CINEMATOGRAPHER, cinema is like scene and lights and tographer is the person who adjusts it

4 0
3 years ago
Other questions:
  • CHALLENGE ACTIVITY 2.15.1: Reading and outputting strings. Write a program that reads a person's first and last names, separated
    11·1 answer
  • What is the letter for the trash directory on windows 10?
    13·2 answers
  • What is the correct syntax to take the first five characters from the cell and place to its right in cell A3?
    15·1 answer
  • Gary lives in an area that receives a lot of rain throughout the year. which device would be useful to him to maintain his compu
    8·1 answer
  • An administrative assistant types a document, saves, and prints. The assistant is using _____.
    14·1 answer
  • How do you delete an credit card off an iPhone 7
    5·1 answer
  • Help me guys plssssss​
    10·1 answer
  • A user can view <br> and <br> in the Reading pane.
    9·1 answer
  • One difference between multi-tasking using fork() versus using threads is that there is race condition among threads due to shar
    5·2 answers
  • What is draft pls help me​
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!