# Introduction In linear algebra, the determinant of a square matrix is a scalar value that can be calculated from the elements of the matrix. In this lab, we will learn how to find the determinant of a 2x2 matrix using C programming. > Note: You need to create the file `~/project/main.c` yourself to practice coding and learn how to compile and run it using gcc. ```bash cd ~/project # create main.c touch main.c # compile main.c gcc main.c -o main # run main ./main ```
Click the virtual machine below to start practicing