Since I don't know how to uppercase function in c, I decided to make it myself. One of pset2 lecture, he taught how to make it also. So this is my code. However, I keep getting error message, very first int is wrong. What should I have to fix?? Thank you!
int UpperCase(void);
int main()
{
printf("What is your name ");
string name = GetString();
{
printf("Your initials are: %c\n", UpperCase(name));
}
}
int UpperCase(void){
char x='\0';
if(x>='a' && x<='z')
x=x-32;
}