How to create to find Maximum No Algorithm

  • How to create to find Maximum No Algorithm


  • 1 Comment sorted by



  • Algorithm: Maximum
    Step 1: [Initialize.] set X: = 1, LOC: =1 and MAX: = DATA [1].
    Step 2: Repeat steps 3 and 4 while X<=N.<br />Step 3: If MAX < DATA [X], then:
    Set LOC: = X and MAX: = DATA [K]
    [End of if structure]
    Step 4: Set X: = X+1.
    [End of step 2 loop]
    Step 5: Write: LOC, MAX.
    Step 6: Exit.



Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

    Optimum Creative