C Workshop
|
Functions | |
int | NotQuiteEdges (int *secondSmallest, int *secondLargest) |
Reads numbers from the user (terminated by 0) and returns the second smallest and second largest in the corresponding parameters. More... | |
int | PrintNotQuiteEdges () |
Reads numbers from the user (terminated by 0) and prints the second largest and second smallest numbers. More... | |
int | ReadNumber () |
Prompts and reads a number from the user. More... | |
int NotQuiteEdges | ( | int * | secondSmallest, |
int * | secondLargest | ||
) |
Reads numbers from the user (terminated by 0) and returns the second smallest and second largest in the corresponding parameters.
secondSmallest | Address to store the second smallest number. |
secondLargest | Address to store the second largest number. |
int PrintNotQuiteEdges | ( | ) |
Reads numbers from the user (terminated by 0) and prints the second largest and second smallest numbers.
int ReadNumber | ( | ) |
Prompts and reads a number from the user.