Question Locked

Can someone help me with this basic C Programming Question??

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to write a function prototype that divides two numbers, another function prototype that finds the greater of two numbers, and another function prototype that prints an ATM menu...

would these be my correct function prototypes???

#include

int divideTwoNumbers(int, int);
int GreatestNumber(int, int);
printf("\n\tWelcome to our ATM\n");

main()

2 replies

by p.j.hutchison

The top three are correct.

The correct prototype for main() is

int main(int argc, char **argv)

This discussion is closed to new replies.