25
edits
Changes
→Assignment 3
=== Assignment 3 ===
The code we used to optimize our code
<codeblocksyntaxhighlight lang="cpp">
#include <stdlib.h>
#include <stdio.h>
return 0;
}
</codeblocksyntaxhighlight>
How we optimize and improved the code is instead of using a randomized number we ask the user for input on pi calculation.