#1 ·
Hey everyone, I’ve got an algorithms exam coming up at school soon, and we were handed this specific assignment for homework: "Print n natural numbers and determine which one is the largest and which one is the smallest." My professor made some comment about starting off by making an assumption regarding which number is the largest... I’m hoping someone in this community has some actual experience with programming and algorithms who could walk me through how to tackle this problem.