Write a program that finds the smallest of several integers. Assume that the first value read specifies the number of values remaining.
I have most of it but im missing some stuff. I know its a loop.
Code:#include <stdio.h> int main () { int integer; int min; int counter; prinf("Enter integer"); scanf("%d", &integer); min = 9999; integer = 0; if(integer < min){ min = integer; } printf("The smallest integer is %d", min); return 0; }