C++ Program .Write a program to display area of rectangle.

#include<stdio.h>
#include<conio.h>
void main()
{
float lenth,width,area;
clrscr();
printf("\n enter the value of lenth");
scanf("\n %f",&lenth);
printf("\n enter the value of width");
scanf("\n %f",&width);
area=lenth*width;
printf("\n %f",area);
getch();
}