Skip to content

Instantly share code, notes, and snippets.

@Code-Hex
Created December 17, 2014 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Code-Hex/8dce75e8cc45e23e7435 to your computer and use it in GitHub Desktop.
Save Code-Hex/8dce75e8cc45e23e7435 to your computer and use it in GitHub Desktop.
5-1(5-2,5-3,5-4,5-5,5-6は計算できたら良いからパス)
#include <stdio.h>
int main(){
float f,c;
printf("摂氏の入力\n");
scanf("%f", &c);
f = (9 / 5 * c) + 32;
printf("華氏は%05f\n", f);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment