How to Create a C++ program

Write a program that reads in positive integers until the user enters a 0 to signal end of input. The program should then print the smallest and largest of the positive integers entered.

I have no clue how to start this, please help me
Use a while loop

while(input != 0)
Topic archived. No new replies allowed.