Write a program to print the maximum number using function

#include <stdio.h>
#include <conio.h>
// prototype
int maximum(void);

int main(void)
{
//clrscr();
maximum();  // calling
getch();
}

int maximum(void)          // defination

{
int a,m=0;

printf(“Remember: Enter -1 to end \n”);
while(a!=-1)
{
printf(“Enter integer\n”);
scanf(“%d”,&a);

if(a>m)
{
m=a;
}

}

printf(“%d is greatest\n”,m);
}