본문 바로가기

Python_WEB/JavaScript

[freecodecamp]JavaScript 두 숫자 곱하기

반응형

한 숫자에 다른 숫자를 곱할 수도 있습니다.

JavaScript는 두 숫자의 곱셈을 위해 * 기호를 사용합니다.

 

예>

myVar = 13 * 13; // assigned 169

 

Q>

1. product 변수가 80이되도록 0을 변경합니다.

2. product 변수가 80과 같아야합니다.

3. * 연산자를 사용해야합니다.

 

A>

var product = 8 * 10;

 

https://www.freecodecamp.org/

 

freeCodeCamp.org

Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.

www.freecodecamp.org

 

반응형