Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Basic Arithmetic | Section
Practice
Projects
Quizzes & Challenges
Cuestionarios
Challenges
/
Essential R Programming for Absolute Beginners - 1768563985826

bookBasic Arithmetic

In R, arithmetic expressions can be written directly in the console, and the result is displayed without the need for an explicit print function.

Arithmetic Operators

You can use the following operators for basic arithmetic:

  • + for addition;
  • - for subtraction;
  • * for multiplication;
  • / for division.

Example

1234
12 + 21 32 - 16 10 * 11 13 / 5
copy
Note
Note

Each new operation should start on a new line.

Tarea

Swipe to start coding

Perform the following calculations using basic arithmetic operations:

  1. 30 + 24;
  2. 50 - 36;
  3. 19 * 7;
  4. 28 / 4.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 2
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

close

bookBasic Arithmetic

Desliza para mostrar el menú

In R, arithmetic expressions can be written directly in the console, and the result is displayed without the need for an explicit print function.

Arithmetic Operators

You can use the following operators for basic arithmetic:

  • + for addition;
  • - for subtraction;
  • * for multiplication;
  • / for division.

Example

1234
12 + 21 32 - 16 10 * 11 13 / 5
copy
Note
Note

Each new operation should start on a new line.

Tarea

Swipe to start coding

Perform the following calculations using basic arithmetic operations:

  1. 30 + 24;
  2. 50 - 36;
  3. 19 * 7;
  4. 28 / 4.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 2
single

single

some-alt