I need help writing this C code in a Linux Virtual Machine. I have tried multiple different codes but every time I run into too many errors, I am a beginner in C++ but have to w