# Write your code here # Do not change the following lines of code. print("No

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 7RQ: If the intNums array contains six elements, which of the following statements assigns the number 6...
icon
Related questions
Question

# Write your code here
# Do not change the following lines of code.

print("No. of Laptop =", Laptop.count)
l1 = Laptop('Macbook Pro', 2021)
l1.add_Features('Apple M1 Chip' , '16-core Neural Engine', '8-core GPU')
l2 = Laptop('Razer Blade Pro 17', 2020)
l2.add_Features('Intel Core i7-10875H CPU' , 'Nvidia RTX 3080 16GB GPU')
l3 = Laptop('HP SPECTRE X360 14', 2021)
l3.add_Features('512GB PCIe NVMe SSD' ,  'Intel Core i7-1165G7 CPU')
print("=========================")
l1.printLaptopDetail()
print("=========================")
l2.printLaptopDetail()
print("=========================")
l3.printLaptopDetail()
print("=========================")
print('No. of Laptop =',Laptop.count)

Output:
No. of Laptop = 0
=========================
Model Name: Macbook Pro
Year of release: 2021
Features: Apple M1 Chip, 16-core Neural Engine, 8-core GPU
=========================
Model Name: Razer Blade Pro 17
Year of release: 2020
Features: Intel Core i7-10875H CPU, Nvidia RTX 3080 16GB GPU
=========================
Model Name: HP SPECTRE X360 14
Year of release: 2021
Features: 512GB PCIe NVMe SSD, Intel Core i7-1165G7 CPU
=========================
No. of Laptop = 3

 
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,