Hints:
- We can use the to_string() in the string library to convert int to string
Notes:
- You can create new function(s) if you see it is necessary.
-Do not edit given statements in the main function.
Sample input and output:
5 of 5
Paper No: 1
Enter id: 5
Enter brand: jbl
Enter power: 200
1.Test changeVolume()
2.Test printInfo()
Enter TC(1|2): 1
Enter percentage: 10
Enter id: 5
Enter brand: jbl
Enter power: 220
1.Test changeVolume()
2.Test printInfo()
Enter TC(1|2): 2
Zoom
Output for marking
OUTPUT:
220.00
+ 100%
Output for marking
OUTPUT:
5.ibl.220.00
Close