# Introduction In this lab, you will learn how to work with floating-point arithmetic in C. You will start by declaring float and double variables, then perform various arithmetic operations on them, and finally, print the results with appropriate precision. The lab covers essential skills for working with decimal numbers and performing precise mathematical calculations in C programming. The first step demonstrates how to declare floating-point variables using the `float` and `double` data types, and how to print the values with desired precision. The second step focuses on performing arithmetic operations, such as addition, subtraction, multiplication, and division, on floating-point numbers.
Click the virtual machine below to start practicing