Join Sarthaks eConnect Today - Largest Online Education Community!
0 votes
18 views
asked in English by (229 points)

1 Answer

0 votes
answered by (58.6k points)

The algorithm is defined as :

Step 1: Read X, Y, Z.

Step 2 : If X > Y continue step 5.

Step 3: If Y>Z then print “Y is the largest “and continue step 7.

Step 4: Continue step 6.

Step 5: If X>Z then print “X is the largest “and continue step 7.

Step 6: Print “Z is largest”.

Step 7: End.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

One Thought Forever

“There is a close connection between getting up in the world and getting up in the morning.“
– Anon
~~~*****~~~

Categories

...