I'm currently trying to write a program in C with the following structure:
int alpha()
{
blablabla... //returns 0,1,2,3,4 or 5 depending on input
}
int beta()
{
blablabla... //needs to return the value that alpha returns
}
How - if possible - can I get beta to return the return value of alpha?
I realise this is a dumb structure but unfortunately it is necessary in order to work with a header file.