Coders Meeting
Saturday 30th November, 2013.
Session 49
Course: Coding
Course Lesson: JavaScript
Acitivity: Introductio to JavaScript2 2
Kobby has 2000 blue marbles,3000 yellow marbles and 2000 orange marbles.Using JavaSript calculate;
1. The total number of marbles Kobby has.
2. The sum of blue marbles and yellow marbles.
3. Divide the orange marbles by the blue marbles.
4. The sum of yellow and orange marbles.
5. Multiply the number of blue marbles by the number of yellow marbles and divide the result by the number of orange marbles.
The total number of marbles is 7000
The sum of blue marbles and yellow marbles is 5000
Division of orange marbles and blue marbles is 1
The sum of yellow and orange marbles is 5000
Blue*yellow is 6000000
The multiplication of 2000and 3000 divided by 2000 is 3000