-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathVariablesAndOperations.js
More file actions
48 lines (20 loc) · 1.16 KB
/
VariablesAndOperations.js
File metadata and controls
48 lines (20 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// Copyright (c) 2023 Promineo Tech
// Author: Promineo Tech Academic Team
// Subject: Variables & Operations Lab
// JavaScript Week 01 Lab
//
//create a variable to hold the quantity of available plane seats left on a flight
//create a variable to hold the cost of groceries at checkout
//create a variable to hold a person's middle initial
//create a variable to hold true if it's hot outside and false if it's cold outside
//create a variable to hold a customer's first name
//create a variable to hold a street address
//print all variables to the console
//a customer booked 2 plane seats, remove 2 seats from the available seats variable
//impulse candy bar purchase, add 2.15 to the grocery total
//costOfGroceries = costOfGroceries + 2.15;
//birth certificate was printed incorrectly, change the middle initial to something else
//the season has changed, update the hot outside variable to be opposite of what it was
//create a new variable called full name using the customer's first name, the middle initial, and a last name of your choice
//print a line to the console that introduces the customer and says they live at the address variable