return something in main()

master
neingeist 12 years ago
parent 6298288d58
commit 877471585c

@ -20,4 +20,6 @@ double approximate_pi(unsigned int steps) {
int main(int argc, char *argv[]) {
// printf("sizeof(int) = %d\n", sizeof(int));
printf("pi = %8.7f\n", approximate_pi(10000000));
return 0;
}

Loading…
Cancel
Save