Arithmetic Operators in R
📖 Scenario: You are helping a small shop owner calculate prices and discounts using simple math operations in R.
🎯 Goal: Build a small R script that uses arithmetic operators to calculate total price, discount amount, and final price after discount.
📋 What You'll Learn
Create variables with exact numeric values
Use arithmetic operators: +, -, *, /
Assign results to new variables
Print the final result
💡 Why This Matters
🌍 Real World
Calculating prices, discounts, and totals is common in shops, restaurants, and online stores.
💼 Career
Basic arithmetic operations are essential for data analysis, finance, and programming tasks.
Progress0 / 4 steps