Created
June 10, 2017 17:07
-
-
Save harlos0517/c01dc499453be0ba4070573c1d12b122 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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