// D test program min.d CSE413 6/99, rev 5/00 // read a sequence of integers and print the smallest // number read. End of input indicated by a 0. // sample program with no user defined functions int main( ) { int n; // current input number int min; // smallest number read // read and process input numbers n = get(); min = n; while (!(n==0)) { if (!(n > min)) min = n; n = get(); } // print smallest input number min = put(min); return 0; }