3 store + display

icon picker
D debug message text

Can you find the bugs and fix this program?

requirement

The message should store a some details about a mobile phone and present them in clear sentences.

🐞Task

The following code has several errors.
Read the code and the comments as well as the expected output.
Run the code and use the error messages to debug.
You may have to repeat this several times until all the bugs are fixed.

🐞expected output

The program output should look like this when all the bugs have been fixed.
Best seller made by Samsung
Camera resolution is 32
Weight is 192

the program code

Loading…
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.