Write a program that simulates a simple PC diagnostic tool based on a flowchart.
Flowchart
Click on the chart to open it in a new tab.
Is the PC powering on? (yes/no): yes [Enter]
Is there any display on the monitor? (yes/no): no [Enter]
Check the monitor connections and ensure the monitor is turned on. If the problem persists, try using a different monitor or graphics card.