Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Adjusting Salary with a Bonus | Section
JavaScript Fundamentals
セクション 1.  23
single

single

bookChallenge: Adjusting Salary with a Bonus

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

Your company has decided to reward employees with a performance bonus of 250%. You need to update the salary calculator to include this bonus in the final salary calculation.

Extend the program by doing the following:

  • Declare a new constant called BONUS with a value of 2.5.
  • Before showing the output, multiply the value of totalPay with BONUS and store the result back in totalPay.
  • Use the shorter arithmetic syntax for this operation.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  23
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt