In this lesson, we will look at a simple coding challenge involving if/else statements.
0:00 Introduction
0:31 Coding challenge steps
1:49 Coding challenge solution part 1
4:04 Coding challenge solution part 2
6:27 Coding challenge solution part 3
//John has test scores of: 90, 81, 55, 70, and 80
//Megan has test scores of: 88, 75, 87, 80, and 84
//1) Calculate each person's current class score by finding the average of the grades
//Average: sum of the numbers / number of numbers
//2) Log to the console who has a higher class score using if/else statements
//3) What happens if the scores are equal?
JavaScript Playlist:
• JavaScript for Beginners
MDN if/else:
https://developer.mozilla.org/en-US/d...
NodeJS:
nodejs.org
VS Code:
code.visualstudio.com
На этой странице сайта вы можете посмотреть видео онлайн JavaScript for Beginners Lesson #14 Coding Challenge 1 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь GreeneMath.com 06 Январь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 506 раз и оно понравилось 21 зрителям. Приятного просмотра!