Skip to content

Commit d0ada4a

Browse files
authored
typo
1 parent 19cfe36 commit d0ada4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/exercises/04-conditionals-solutions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ process.stdout.write('\n*4·61. ');
224224
225225
For example, if the username and password match the employee username and password and their salary is within the junior range, print 'Welcome, junior employee Zarya.' In the case where the salary is not within any of the set ranges, simply print 'Welcome, employee Zarya.' If the username and password match the CEO credentials but the salary is below the CEO's minimum salary, we have an imposter! For an invalid login, just print 'Invalid login.' (don't worry about whether it was the username or password that didn't match).
226226
227-
If you notice you're repeating a certain condition more than once, try nesting if statements to avoid the repeitition.
227+
If you notice you're repeating a certain condition more than once, try nesting if statements to avoid the repetition.
228228
*/
229229
if (myUsername === employeeUsername && myPassword === employeePassword) {
230230
if (salary >= juniorSalaryMinimum && salary <= juniorSalaryMaximum) {

0 commit comments

Comments
 (0)