29.07.2016 Views

front-end-developer_1_

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Front-End-Developer - Level 1<br />

03.Arithmetic practice<br />

In the Arithmetic video, we learned:<br />

How to access the JavaScript Console<br />

Addition, subtraction, multiplication, and division using JavaScript<br />

How to use the % operator<br />

NaN means not a number but is actually considered a type of number<br />

Here are some exercises for you to practice arithmetic in JavaScript:<br />

Add:<br />

77 to 99<br />

34 to 1233<br />

-53 to 99<br />

9,092 to -12312<br />

943,456,575 to 39,087,092,348,570<br />

Subtract:<br />

99 from 665<br />

555 from 23<br />

7,912 from 88888<br />

6,348,709,234 from 87,023,984,709,871,234.<br />

Multiply:<br />

89 and 54<br />

932 and 1,900<br />

-34 and 8<br />

25 and 700<br />

Divide:<br />

1008 by 7<br />

23423 by 75<br />

90 by 3<br />

9,870,834,205,987 by 324<br />

Find the remainder of dividing the following numbers:<br />

1008 by 7<br />

23423 by 75<br />

90 by 3<br />

9,870,834,205,987 by 324<br />

Divide a number by 0.<br />

Divide 0 by 0.<br />

Arithmetic practice<br />

99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!