Subj : Random Integer Solutions...Help Please... To : borland.public.cpp.borlandcpp From : Jeremy Pham Date : Sun Jun 27 2004 08:36 am #include main() { int smallest, a; int counter = 1, total; printf("Input the number of integers you will input,\nand I will tell you the smallest of the group: "); scanf("%d", &a); printf("Input a value: "); scanf("%d", &num); for (total = 0; counter <= a; counter++); This is the program I made so far. I have to make a program that determines the smallest number of a group of numbers, with the first number entered being the number of numbers we will use. The numbers are all integers. I'm very confused with the mathematical concept to simplify the process in making this type of program. Could someone please tell me the programming functions, or at least the mathematical solution? Thanks for all your help guys, Jeremy Pham .