Q.Devise an algorithm and draw a flowchart to simulate the working of an AND gate. AND gate takes two bits as input and output a bit as shown in the following table. Check for validity of input and print 'Invalid input' when user gives out of boundary values.
Click on this to download the editable version of the flowchart and edit it using Yed editor
No comments:
Post a Comment