Category: Code

  • Programming code for Fahrenheit to Celsius Converters

    Two programs that convert temperatures in Fahrenheit to Celsius. The first program is written in C and the second one in Python. The C program uses dynamic memory allocation to allocate memory for the number of conversions that you want to do. I’m learning C and trying new things. Should compile in any C compiler.…

  • C Programming Code for Bullet Energy Calculation

    A couple of C programs that I wrote that do the exact same thing, but are coded a bit different. They both calculate the energy of a bullet. You have to input the weight in grains and the velocity in feet per second. I am learning how to program in C and wanted to try…