The program will need an executer that you can write down inputs in. something like an online compiler, or IDLE. Otherwise the script fails ...
C is an old language. It was very popular then, and is still popular now, because of how robust it can run. It is a low level language, meaning there is little between it and machine code (0s and 1s).