Answer :

#include<stdio.h> //header file contains the function,decleraction and macro defination of key words used in code.

int main ()

{

float length,breadth,area;  //adressing the variables

printf("Enter the length of the rectangle\t"); //output

scanf("%f",&length); //stores the input from the user

printf("Enter the breadth of the rectangle\t"); //output

scanf("%f",&breadth); //stores the input from the user

area=length*breadth; //formula

printf("\n***************************\n\n"); //output desgin

printf("Area of rectangle is %.2f\t\n\n",area);//output

printf("***************************\n\n"); //output desgin

}

Output :