Skip to content

Instantly share code, notes, and snippets.

@blizzarddreams
Created January 1, 2015 07:46
Show Gist options
  • Select an option

  • Save blizzarddreams/a7b16baab1f0704e0725 to your computer and use it in GitHub Desktop.

Select an option

Save blizzarddreams/a7b16baab1f0704e0725 to your computer and use it in GitHub Desktop.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int fahrenheit_to_celcius(int f) {
return (f-32)*5/9;
}
int main() {
printf("%i", fahrenheit_to_celcius(44));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment