File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -25,3 +25,6 @@ console.log(`£${pounds}.${pence}`);
2525
2626// To begin, we can start with
2727// 1. const penceString = "399p": initialises a string variable with the value "399p"
28+
29+
30+
Original file line number Diff line number Diff line change @@ -28,12 +28,5 @@ const pence = paddedPenceNumberString
2828
2929console . log ( `£${ pounds } .${ pence } ` ) ;
3030
31- // This program takes a string representing a price in pence
32- // The program then builds up a string representing the price in pounds
3331
34- // You need to do a step-by-step breakdown of each line in this program
35- // Try and describe the purpose / rationale behind each step
36-
37- // To begin, we can start with
38- // 1. const penceString = "399p": initialises a string variable with the value "399p"
3932
You can’t perform that action at this time.
0 commit comments