JavaScript Arithmetic Operators

提供方
Coursera Project Network
在此指导项目中,您将:

Describe the purpose of arithmetic operators in JavaScript.

Write JavaScript code to perform calculations.

Apply operator precedence in a JavaScript math statement.

Clock2 hours
Intermediate中级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

In this intermediate-level project you will write JavaScript code to use arithmetic operators in calculations. Many programming applications require calculations to determine tax amounts, coordinates, and square footage, among others. Your ability to recognize and use the arithmetic operators correctly moves your JavaScript programming skills to the next level. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培养的技能

  • Arithmetic
  • Order of Precedence
  • JavaScript Math
  • Modulo Operation
  • Increment and Decrement

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. Identify the components in a JavaScript arithmetic statement, including the assignment symbol, the operator, and the operands.

  2. Demonstrate addition and subtraction using JavaScript code with the addition and subtraction operators.

  3. Demonstrate multiplication and division using JavaScript code with the multiplication, division, and modulus operators.

  4. Write JavaScript code to increment or decrement the value in a variable using the increment or decrement operators.

  5. Practice writing compound arithmetic statements while applying operator precedence in JavaScript.

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心