Exercise by:
Kwami Baku
22 Years Old
University Primary School - Legon
Read / Add Comments
Kwami

CODERS Club Meeting
Saturday 30th November, 2013. (WEEK 5)
Session: 49


COURSE: Coding
COURSE LESSON: JavaScript
ACTIVITY: AniJavaScript Lesson 2 : Exercise


Kobby has 2000 blue marbles, 3000 yellow marbles and 2000 orange marbles.
Using JavaScript 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.