Example 1: Describe an algorithm for finding the maximum (largest) value in a finite sequence of integers. Solution :( using English language ). 1.Set
{"Image DocumentName": "Algorithms n is the number of integers in the list.", "Image ImageDescription": "The pseudocode for Finding the Maximum Element in a Finite Sequence. n is the number of integers in the list. procedure max ( a1,a2,\u2026,an : integers ) max := a1. for i := 2 to n. if ai > max then max := ai. return max { max is the largest element } Example : list a= { } max=6 n = 3. i=2. 4>6 (F) i=3. 10>6 (T) then max=10. i=4. return 10. if ai > max =F. And i<=n.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}