セクション 1. 章 57
single
Challenge: Return Values
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Your task is to create a method that takes a Celsius value, converts it to Fahrenheit, and returns it.
- Create a method
ConvertToFahrenheitthat:- Accepts one parameter:
celsius(double)
- Converts the Celsius temperature to Fahrenheit using the formula:
Fahrenheit = Celsius * 9 / 5 + 32 - Returns the Fahrenheit value as a
double.
- Accepts one parameter:
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 57
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください