☑Kizspy.me
a[2]=7
a[3]=25
a[4]=23
Output for marking:
OUTPUT:
1
a[2]=15
a[3]=25
a[4]=48
Output for marking:
OUTPUT:
0
Question 4:
(2 marks)
The given Q4.cpp file contains statements about input and output data of objects from the Laptop class.
You should write the statements to complete the Laptop class as described below:
Laptop
4 of 4
Paper No: 1
Zoom
id: string
+ 100%
Where:
Laptoplid:string. model:string, brand: String. price:
Activate Windows
Go to Settings to activate Windows.
Close