セクション 1. 章 9
single
Challenge: Revenue Calculation
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Use variables to calculate projected revenue from a deposit with compound interest:
- With the variables
initial_money,interest_rate, andn_years, compute the value of the deposit after 4 years and store it in a variable namedrevenue; - Print the result in the format:
Accrued amount: number
The formula for revenue is:
initial_money * (1 + interest_rate / 100) ^ n_years
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 9
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください