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

Explanation:
let understand how the program works step by step.
At the beginning of the program we have include the standard header file named stdio.h needed for the input and output functions such as printf() and scanf().Then we declared two variables.
First variable ename declared as array character that save the employee's name and another variable salary that uses a floating point or decimal number to save the amount of salary paid to the employee.
We have then used the printf function to ask the user to enter a name and then use scanf function to store the entered name.
A special format specifier %[^\n]s is used to confirm that an entire line is captured, including spaces.
Same way, we ask the user for salary using printf and then use scanf again to get his salary.
This time we use the %f format specifier to get a floating point value representing their salary.
After getting the user's name and salary, we display what he entered using printf.
We use %s to display name since it is s a string and %f to display salary since it is a decimal number.
Finally, the program exits and displays 0 which means everything successful.


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.
6.Write a program in c to find area of rectangle by accepting variable value length and width.
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.