pseudocode: accepts 10 integers. determine and print the minimum integer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • christiancardel
    New Member
    • Jul 2012
    • 1

    pseudocode: accepts 10 integers. determine and print the minimum integer

    hi, my prof gave us an assignment,
    he wants us to search for the pseudocode of this,,
    "accepts 10 integers. determine and print the minimum integer"
    but i can't search it on the web.. can someone
    help me with this??

    thanx in advance..
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Just write the steps you would follow.

    1)accept an integer
    2)save it as the minimum integer
    3)accept another integer
    4)if the new iteger is less then the minimum integer, replace the minimum integer with this one.
    5) Repeat 3 and 4 for eight more integers
    6)print the minumum integer.

    Comment

    Working...