Answer:
please find the attachment of the flowchart.
Step-by-step explanation:
In this question, a start block is used to start the program, in the parallelogram box we input the value from the user end and in the diamond box, we check the input is not equal to 0. In the next diamond box, it checks the given input value and print value, and at the last, we stop the code.
Please find the program and its output in the attached file.