Programming Practice

糶 C++ 摸祘Α磅︽放锣传盢尼ん (Centigrade) 放锣地ん (Fahrenheit) 放㎝地ん放锣尼ん放狦尼ん放 C 玥ㄤ锣传地ん C´9/5+32狦地ん放 F 玥ㄤ锣传尼ん (F-32)´5/9 ﹚竡尼ん放摸㎝地ん摸–摸よ猭 (method)

  1. 疊翴计把计ン篶よ猭 ﹍翴放 (尼ん箂┪地ん 32 )

  2. 砞﹚赣摸ン放よ猭

  3. 眔赣摸ン放よ猭

  4. 盢赣摸ン放锣传Θ摸放

祘Αい糶礚癹伴 (infinite loop)匡拒磅︽

  1. 尼ん放锣地ん放

  2. 地ん放锣尼ん放

  3. 挡祘Α磅︽

祘Α磅︽絛ㄒ

1. Centigrade to Fahrenheit
2. Fahrenheit to Centigrade
3. Stop program execution
Enter a command:
1

Enter a temperature degree in Centigrade:
45
The temperature degree in Fahrenheit is 113.

1. Centigrade to Fahrenheit
2. Fahrenheit to Centigrade
3. Stop program execution
Enter a command:
2

Enter a temperature degree in Fahrenheit:
212
The temperature degree in Centigrade is 100.

1. Centigrade to Fahrenheit
2. Fahrenheit to Centigrade
3. Stop program execution
Enter a command:
3