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.

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心