Working with basic C

Want to create a simple linear regression code in c (from scratch). Don't know how long will it take but will try. Mostly used on Raspberry Pi4.