Build Expressions
JavaScript
10 pts
Build Expressions
Print exactly these three lines:
Full name: Yonas Tekle Team size: 11 Points: 36
- Line 1: join four strings with
+:"Full name: ","Yonas"," "and"Tekle". - Line 2: calculate
5 + 6. - Line 3: Yonas’s team won 10 games and drew 2, and every result is worth 3 points: calculate
(10 + 2) * 3— with the brackets.
Checklist
- Print the three lines exactly.
- Build the full name by joining strings with
+. - Calculate the team size and the points (with brackets).
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
