Hello can you help me please... im making the program that will display the smallest number using function in array...please help me...thank you in advance...hoping for your positive responds....
#include<stdio.h>
void accept();
void findsmallest(int num[],int size);
int a;
int main(void)
{
accept();
getch();
return 0;
}
void accept()
{
int size=0;
int num[]=size;
scanf("%d",size);
for(a=0;a<size;a++)
{
scanf("%d",& num[a]);
if(num[a]<small)
{
num[a]=small;
}
}
}
void findsmallest(num,size);
{
return;
}
}