QUESTION 3
Instructions:
1) Code main() function and name it getMonitors.cpp.
2) Instantiate an Acer object of the Monitor class and set width and height as 1920 x 1080, Brand as Acer, Model as H243H, and ppi as 70, 1
HDMI port, 60Hz refresh rate. Call the functions to calculate the Screen Size and write the output listing. Output should be:
Brand: Acer, Model: H243H, Screen size (pixels) 1920x1080 @ 70ppi, (diagonal) "result of getScreenSize"
3) Instantiate a Sony object of the Monitor class and set width and height as 1440 x 980, Brand as Sony, Model as VX200, and ppi as 72, 1 HDMI
port, 60Hz refresh rate. Call the functions to calculate the Screen Size and write the output listing the Sony monitor.
Brand: Sony, Model: VX200, Screen size (pixels) 1440x980@ 72ppi, (diagonal) "result of getScreenSize"
4) Upload the getMonitors.cpp.