# Introduction In this lab, you will learn how to declare and initialize variables in C programming. You will explore the common data types, such as integers, floating-point numbers, and characters, and practice using them in a program. Additionally, you will learn how to read user input and print the values using the `printf` function with appropriate format specifiers. By the end of this lab, you will have a solid understanding of variable declaration and data types in C. The lab covers the following steps: discussing common C data types, initializing variables in the main function, using `printf` with format specifiers, reading user input with `scanf`, and compiling and testing the program using `gcc`.
Click the virtual machine below to start practicing