Algorithms & Flowcharts for ICSE Computers
Write algorithms and draw flowcharts for the following:
Accept the length of two different line segments and check whether they are equal or unequal. Display the message accordingly.
Algo & Flowcharts
Step 1: Start
Step 2: Accept the length of the two line segments as l1 and l2.
Step 3: If l1 and l2 are equal, then display 'Line Segments are equal'.
Step 4: If l1 and l2 are not equal, then display 'Line Segments are not equal'.
Step 5: Stop