Skip to content

Commit bf67d4d

Browse files
committed
added the code from sprint1
1 parent c9f3f14 commit bf67d4d

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Sprint-1/interpret/to-pounds.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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+

Sprint-2/implement/to-pounds.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,5 @@ const pence = paddedPenceNumberString
2828

2929
console.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

0 commit comments

Comments
 (0)