April 2025
🧮
Maths
Challenge Instructions
Next, we will look at some maths-based challenges
Some example projects are given below
- Output all primes between a lower and upper bound
- Dimension calculator - area/surface area, volume, perimeter/circumference etc of various shapes
- Arithmetic or geometric progression - given required parameters, output the first n term of this sequence
- Factorial calculator
- Output all factors of a number
- Quadratic equation - root solver
- Lowest common multiple or greatest common divisor of two or more numbers
- Using nothing but the addition (+) operator, create functions that can multiply and raise to positive integer powers
- Perfect number checker
- Pascal's or Floyd's Triangle
- Permutations or combinations calculator
- Matrix arithmetic
...etc - there are many different examples you can think of
As a target, let's try and have 10 programs submitted by members of the community for others to look at...good luck...and have fun!
Top Submissions
Submission Instructions
Create your program on the editor page, then click the upload button at the bottom of the code editor as shown below
Once you are confident your program is working well without obvious bugs, then give it a relevant name, choose the current monthly challenge from the dropdown box, choose some program categories if you want and submit it :)
Note: your submitted programs will be in blue and you can overwrite them by opening them, clicking the upload button again and selecting "overwrite"