a program in c programming language to find area of rectangle by accepting variable value length and width.

Explanation:
1.At the top of the program at the first line we have include the standard header file stdio.h essential for input output operations.
2.Inside main function the variables length, width and area are declared and initialized to store the length and width measurements as well as the measured area of the rectangle.
3.Using the function printf and scanf the program asks the user to enter the length and width of the rectangle which are then stored in length and width variables.
4.In the main part of the program, we declared up and assigns values to three variable named length, width, and area. These variables are meant to hold the measurements for the length, width, and area of a rectangle.
5.Then, with the help of the printf function the program asks the user to enter in length and width of rectangle and scanf functions saves thes values in length and width variable for later use.
6. We find the area of rectangle by using
area = length * width
Finally area of rectangle is displayed using printf()


1.Write a program in C to find area of circle using single-line comments.
2.Write a C program to find addition of two numbers with multi-line comments to write down the purpose of every steps.
3.Write a program in C that describe a complex mathematical formula with nested comments.
4.Write a C program to demonstrate the declaration and initialization of variables of different data types.
5.write a program code in c to swap a values of the two variable without using a third variable.
7.Write a program that accepts user input for employee name and salary, and then display them using those variables.
8.Write a program in C to demonstrate and decide the size of int, float, char, and double data types.
9.Write a program in C to convert temperature from Celsius to Fahrenheit using proper data types.
10.Write a C program to achieve basic arithmetic operations on any two numbers of various data types.
11.Write a program in C that accepts any two numbers from user and calculate addition, multiplication, subtraction and division (+, *,-, /) and show the result.
12.Write a program in c input user name, age And display it.
13.Write a program in C that asks the user to enter the marks obtained in three subjects. Read the marks using scan. Calculate the average marks and display the student details.

Other Topic:-->>Dynamic memory FAQ. || Operators Assignments in C.