Subj : Re: Random Integer Solutions...Help Please... To : borland.public.cpp.borlandcpp From : Jeremy Pham Date : Mon Jun 28 2004 03:41 pm Here's my revisions so far: #include main() { int a; char buffer[133]; printf("Input the number of integers you will input,\nand I will tell you the smallest of the group: "); scanf("%d", &a); sscanf(buffer, "%d", &a); for ( ;a > 0; --a) printf("The smallest number is %d\n", &buffer); getchar(); printf("Press enter..."); getchar(); return 0; } I'm not exactly sure myself how to determine the calculation in figuring out the smallest integer. Maybe you can help with that? BTW, This actually isn't a school assignment...school is kind of long over anyways. I'm just a high school student learning the C Programming Language on his own time from the book "C How to Program by: Deitel & Deitel Associates." And I'm on the excercises section at the end of the current chapter I'm on, and these excercises I find, are really difficult. Maybe you can be more English than Computers with this stuff? I'm kind of new sorry. Possibly even...tell me the answer? Once again, thanks Ed. Jeremy Pham .