How can i write the code to identify the smallest integer i entered and how many times it appeared in the list i key in? Can somebody please help?
#include<stdio.h>
#define constant-999
int main()
{
int num, count;
printf("Enter a list of integers (-999 to stop) : ");
while(scanf("%d", &num) != -999)