single
Basic Arithmetic
メニューを表示するにはスワイプしてください
R is a programming language designed for statistical computing and data analysis. You use R to explore, manipulate, and visualize data, making it a popular choice for data analysts, statisticians, and researchers across many fields.
Unlike spreadsheet tools such as Excel, R lets you write arithmetic expressions directly in the console and see immediate results. This approach is similar to using a calculator, but with the added benefit of scripting and automating calculations for repeatable analysis.
In R, arithmetic expressions can be written directly in the console, and the result is displayed without the need for an explicit print function.
Arithmetic Operators
You can use the following operators for basic arithmetic:
+for addition;-for subtraction;*for multiplication;/for division.
Example
123412 + 21 32 - 16 10 * 11 13 / 5
Each new operation should start on a new line.
スワイプしてコーディングを開始
Perform the following calculations using basic arithmetic operations:
30 + 24;50 - 36;19 * 7;28 / 4.
解答
フィードバックありがとうございます!
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください