What will be printed to the screen after the following statements? let b = 20 var a = 5 a = b let c = b * (a > 10 ? 2 : 3) print | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What will be printed to the screen after the following statements? let b = 20 var a = 5 a = b let c = b * (a > 10 ? 2 : 3) print

Help me solve it

30th Jun 2020, 8:56 AM
D’ Koder
D’ Koder - avatar
2 Answers
+ 2
1) You code is incomplete 2) you can always use code playground to find out the output of the program 3) you have posted same question twice.(might be a network issue) just delete it to avoid confusions
30th Jun 2020, 8:58 AM
Arsenic
Arsenic - avatar
- 3
40
30th Jun 2020, 9:15 AM
Og`abek Shomurotov
Og`abek Shomurotov - avatar