# Introduction In this project, we will learn how to create a simple calculator using the C programming language. The calculator will be capable of performing basic arithmetic operations such as addition, subtraction, multiplication, and division. We will also implement checks to ensure that the user input is valid and handle cases where the input leads to undefined behavior. ## 👀 Preview ```bash $ ./Calculator 32+11 =43.000000 $ ./Calculator 41-34.9 =6.100000 $ ./Calculator 10/2 =5.000000 $ ./Calculator 2*4 =8.000000 $ ./Calculator 10%3 =1 ``` ## 🎯 Tasks In this project, you will learn to: - Get user input in C using `scanf()` - Check the format of the input arithmetic expression - Perform arithmetic calculations based on the user input - Handle division by zero errors - Implement the remainder operator only for integer operands ## 🏆 Achievements In this project, you will learn: - How to get user input in C - How to handle different arithmetic operations - How to perform error checking and handle invalid input - How to compile and run C programs using the `gcc` compiler

Click the virtual machine below to start practicing