The main()
main()
{
int resp, trials;
do {
Prompt("\n\nRun again"
"(1 = Yes, 0 = No)? ");
Response(resp);
if (resp) {
Prompt(
"How many trials? ");
Response(trials);
Answer( area(trials) );
}
} while(resp);
return EXIT_SUCCESS;
}
Previous slide
Next slide
Back to first slide
View graphic version