You can create new functions if you see they are necessary.
Kizspy. me Sample input and output:
Please enter the size of the array: 5
a[0]=10
a[1]=13
a[2]=7
a[3]=25
a[4]=23
Output for marking:
OUTPUT:
1
Please enter the size of the array: 5
a[0]=10
a[1]=15
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:
Zoom
+ 100%
Laptop
Where:
Activate Windows
Go to Settings to activate Windows.
Close