When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
13 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
You cannot declare functions within functions.
Move your welcomeScreen () and IntermediateCalculator () functions outside of main().
Either above or below.
oh
well the instruction says
i have to call the welcome screen() function in main function
Calling a function isn't the same as defining a function ;)
void welcomeScreen(void); // prototyping a function
int main()
{
welcomeScreen(); // calling a function
}
// defining a function
void welcomeScreen(void)
{
}
You don't need to prototype the function if you put the definition ahead of main().
ahh ok
<@undefined>
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.
!solved
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity