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
rodikova [14]
3 years ago
6

Anybody know how to do coding 3.2.1. Relational Operators in If Statements?

Advanced Placement (AP)
1 answer:
Dima020 [189]3 years ago
5 0

// A single if statement

if (boolean expression)

   Do statement;

// Or a single if with {}

if (boolean expression)

{

  Do statement;

}

// A block if statement: { } required

if (boolean expression)

{

  Do Statement1;

  Do Statement2;

  ...

  Do StatementN;

}

Note

You might be interested in
1) Calcula la diagonales de un poligono n lados. Heptágono: 2 puntos
ahrayia [7]

Answer:

El número de diagonales de un polígono de n lados se calcula mediante la siguiente fórmula:

d = \frac{n\cdot (n-3)}{2} (1)

Donde:

d - Cantidad de diagonales del polígono.

n - Cantidad de lados del polígono.

Bajo esta fórmula, tenemos los siguientes resultados:

a) El heptágono tiene 14 diagonales.

b) El octágono tiene 20 diagonales.

c) El eneágono tiene 27 diagonales.

d) El decágono tiene 35 diagonales.

e) El pentadecágono tiene 90 diagonales.

Explanation:

La cantidad de diagonales de un polígono se puede determinar mediante la siguiente ecuación:

d = \frac{n\cdot (n-3)}{2} (1)

Donde:

d - Cantidad de diagonales del polígono.

n - Cantidad de lados del polígono.

A continuación, calculamos la cantidad de diagonales de los siguientes polígonos:

Heptágono (n = 7)

d = \frac{7\cdot (7-3)}{2}

d = 14

El heptágono tiene 14 diagonales.

Octágono (n = 8)

d = \frac{8\cdot (8-3)}{2}

d = 20

El octágono tiene 20 diagonales.

Eneágono (n = 9)

d = \frac{9\cdot (9-3)}{2}

d = 27

El eneágono tiene 27 diagonales.

Decágono (n = 10)

d = \frac{10\cdot (10-3)}{2}

d = 35

El decágono tiene 35 diagonales.

Pentadecágono (n = 15)

d = \frac{15\cdot (15-3)}{2}

d = 90

El pentadecágono tiene 90 diagonales.

8 0
3 years ago
For each greeting card Jacqui sells, she makes a profit of $0.35. In one week, she made a profit of $42. She sells the card for
Andrej [43]

ok so she is selling the card for .75 but makes a profit of .35

.75-.35=.4 (what wasn't profit) divid 42 by .4

42/.4=105+42 (have to add in profit portion) =$147 Gross income


5 0
3 years ago
A. Anabelle is planning to apply to college
sweet-ann [11.9K]

Answer:

Enswer

Explanation:

Nation of Expla

5 0
3 years ago
Students who want to create an effective presentation should come up with material as they go along. avoid engaging with the aud
hodyreva [135]

Answer:

C. interact frequently with the audience.

Explanation:

Presentation can be defined as an act of talking or speaking formally to an audience in order to explain an idea, piece of work, project, and product with the aid of multimedia resources or samples.

Students who want to create an effective presentation should interact frequently with the audience.

This ultimately implies that, to create an effective presentation, speakers are saddled with the responsibility of interacting more often with the audience by taking questions, making a joke, getting them to repeat informations loud at intervals etc.

Additionally, students are advised to be passionate and show enthusiasm during their presentation because it would enhance their ability to speak confidently and as such leading to an engaging presentation.

5 0
3 years ago
Read 2 more answers
Agricultural density of china
Crazy boy [7]

<span>Despite the fact that China's agriculture output is the biggest on the planet, just around 15% of its total land zone can be used to cultivate. China's arable land, which makes about 10% of the total arable land on the planet, supports more than 20% of the total populace.</span>

7 0
3 years ago
Other questions:
  • What type of “landform” is North and South Korea combined?
    13·2 answers
  • For many people, unexpected bills can throw a monkey wrench into the best-planned budgets. Imagine you have planned out your mon
    11·1 answer
  • Two men walk down a street. They pass a jail. One man sees a person in the jail. He tells the other man: "Brothers and sisters I
    14·1 answer
  • What are some alternative to federalism
    8·1 answer
  • Where is the skill of factoring used or applied in the real world, work force or nature?
    6·1 answer
  • Wat to do when ur frogs run
    15·2 answers
  • What is 2+19273 I need help ;) this is really hard I don't think anyone knows the answer
    15·1 answer
  • An oil refinery can refine about 20 gallons of gasoline from one barrel of crude oil. If an automobile has a fuel economy of 25
    7·1 answer
  • Which of the following are true regarding direct causes of disease? Check all that apply.
    12·1 answer
  • The area of a square can be modeled by the equation
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!