Question: Write an algorithm that takes as inputs 6 ( six ) integer numbers and displays TRUE if: the first number is equal to the last

Write an algorithm that takes as inputs 6(six) integer numbers and displays TRUE if: the first number is equal to the last number, and the second number is equal to the second to last number, and the third number is equal to the third to last number.It displays FALSE otherwise.Note 1: DO NOT use IF or LOOP statements in this algorithm.Pre-condition: Inputs are integer numbers, and there will always be exactly

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!