Pages

Tuesday, 2 September 2014

Program for calculating area of square


// Code is given below


#include<iostream>
using namespace std;
int main()
{
float lenght , area ;
cout<<"Enter the lenght :";
cin>>lenght;
area = lenght * lenght ;
cout<<"Area of square is "<<area<<"\n\n\n";
return 0;

}

No comments:

Post a Comment

thnx for visiting my blog