-
Notifications
You must be signed in to change notification settings - Fork 0
/
21.js
24 lines (24 loc) · 916 Bytes
/
21.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
var car_suv = {
name: "HAVAL",
model: "2024",
engine: "H6,HEV",
price: "11800000",
};
var car_muv = {
name: "CARNIVAL",
model: "2024",
engine: "3500cc",
price: "16000000",
};
var car_sedan = {
name: "SONATA",
model: "2024",
engine: "2500cc",
price: "10900000",
};
console.log("\n SUV CAR");
console.log("1.Name: ".concat(car_suv.name, ".\n2.Model: ").concat(car_suv.model, ".\n3.Engine Capacity: ").concat(car_suv.engine, ".\n4.Price: ").concat(car_suv.price));
console.log("\n MUV CAR");
console.log("1.Name: ".concat(car_muv.name, ".\n2.Model: ").concat(car_muv.model, ".\n3.Engine Capacity: ").concat(car_muv.engine, ".\n4.Price: ").concat(car_muv.price));
console.log("\n SEDAN CAR");
console.log("1.Name: ".concat(car_sedan.name, ".\n2.Model: ").concat(car_sedan.model, ".\n3.Engine Capacity: ").concat(car_sedan.engine, ".\n4.Price: ").concat(car_sedan.price));