This homework focuses on mastering arithmetic operations in C programming. You'll learn about operators, order of operations, and how to perform calculations.
Goal: Become comfortable with mathematical operations and PEMDAS order of operations!
Perform all basic arithmetic operations!
Gets two numbers from the user and performs all basic arithmetic operations (addition, subtraction, multiplication, division, modulo).
Demonstrate order of operations!
Shows how parentheses affect the order of operations and demonstrates PEMDAS (Parentheses, Exponents, Multiplication, Division, Addition, Subtraction).
Work with decimal results!
Demonstrates the difference between integer and float division, showing how to get decimal results.
Master the modulo operator!
Demonstrates various uses of the modulo operator (%) for finding remainders and checking divisibility.
Calculate complex mathematical expressions!
Calculates complex mathematical expressions using multiple operations and demonstrates the importance of parentheses.