Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  Square
Language: C/C++
Code:
#include<stdio.h>
#include<conio.h>
void main()
{
float length;
float perimeter;
clrscr();
printf("nEnter the length of one side");
scanf("%",&length);

perimeter=4*length;
printf("nThe perimeter of the square is =%f",perimeter);
getch();
}
          
          
          
Comments: