セクション 1. 章 1
single
challenge 1
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Implement a basic calculator that can evaluate a mathematical expression provided as a string input. The calculator should support the following operations: addition (+), subtraction (-), multiplication (*), division (/), and parentheses for grouping. The calculator should handle operator precedence correctly and be able to process expressions that include whitespace.
Examples
Input:
3 + 5 * 2 ^ 2
Output
23
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 1
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください