The main() function
#include <stdio.h>
#include <stdlib.h>
int echo_line(void);
void print_stars(int vol);
main()
{
int value;
while(echo_line() != EOF) {
scanf("%d", &value);
print_stars(value);
}
return EXIT_SUCCESS;
}
Previous slide
Next slide
Back to first slide
View graphic version