Skip to content

Instantly share code, notes, and snippets.

@harlos0517
Created June 10, 2017 17:07
Show Gist options
  • Save harlos0517/c01dc499453be0ba4070573c1d12b122 to your computer and use it in GitHub Desktop.
Save harlos0517/c01dc499453be0ba4070573c1d12b122 to your computer and use it in GitHub Desktop.
/* Problem 2 */
#include <stdio.h>
#include <stdlib.h>
int main(){
/*請排序*/ i = i-1;
/*請排序*/ scanf("%d", &i);
/*請排序*/ i = i/9;
/*請排序*/ printf("%d", i);
/*請排序*/ i = i-32;
/*請排序*/ int i;
/*請排序*/ i = i*5;
system("pause");
return 0;
}
// TITLE : 華氏溫標轉換成攝氏溫標
// INPUT : 第一題的輸出值(令為i)
// OUTPUT: 華氏i-1度相當於攝氏幾度?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment