The question is :Write a function bigger() that returns bigger vaule in a signed integer array. Array and size are passed as arugements.
Write a main program that inputs Max values from the keyboard into siged integer array,array and prints using biggest(), the biggest vaule to the screen
What should i amend for this? Please advise. Thanks!
# include <stdio.h>
int maximum (int array[], int array Size)
{
int z;
int x;
z=(int array[]>=int array Size)
return(x);
}
main()
{
int a,b,c,d;
printf("%na=");
scanf("%d",&a);
printf("\nb=");
scanf("%d",&b);
printf("\nc=");
scanf("%d",&c);
printf("\nd=");
scanf("%d",&d);
d=maximum(c,b);
printf("\n\maximum = %d",maximum(c,d);
}